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…