Modify the – “distance” class by creating constructor for assigning values (feetandinches) to the distance object. Create another object and assign second object as reference variable to another object reference variable. Further create a third object which is a clone of the first object

Modify the – “distance” class by creating constructor for assigning values (feetandinches) to the d…

Write a program to create a – “distance” class with methods where distance is computed in terms of feet and inches, how to create objects of a class and to see the use of this pointer

Write a program to create a – “distance” class with methods where distance is computed in terms of …

Write a program to create your own exception types to handle situation specific to your application (Hint: Define a subclass of Exception which itself is a subclass of Throwable)

Write a program to create your own exception types to handle situation specific to your application…

Write a program to show the use of nested try statements that emphasizes the sequence of checking for catch handler statements.

Write a program to show the use of nested try statements that emphasizes the sequence of checking f…

Write a program – “DivideByZero” that takes two numbers a and b as input, computes a/b, and invokes Arithmetic Exception to generate a message when the denominator is zero

Write a program – “DivideByZero” that takes two numbers a and b as input, computes a/b, and invokes…

Create a multi-file program where in one file a string message is taken as input from the user and the function to display the message on the screen is given in another file (make use of Scanner package in this program)

Create a multi-file program where in one file a string message is taken as input from the user and …

Write a program to demonstrate the concept of boxing and unboxing

Write a program to demonstrate the concept of boxing and unboxing. Program: public class BoxUnbox  {   …

Write a program to show that during function overloading, if no matching argument is found, then Java will apply automatic type conversions (from lower to higher data type)

Write a program to show that during function overloading, if no matching argument is found, then Ja…

Write a program that show working of different functions of String and StringBufferclasss like setCharAt( ), setLength( ), append( ), insert( ), concat( )and equals( )

Write a program that show working of different functions of String and StringBufferclasss like setC…