What happens if the declaration of C: is followed by the following declaration of its extension: Which methods are invoked if the declaration of three objects ExtC object1 = new ExtC(); C object2 =...


What happens if the declaration of C:


is followed by the following declaration of its extension:


Which methods are invoked if the declaration of three objects


ExtC object1 = new ExtC();


C object2 = new ExtC(), object3 = new ExtC();


is followed by these statements; indicate any problems that these statements may cause:


object1.process1(1000);


object1.process4(2000);


object2.process1(3000);


object2.process4(4000);


object3.process1('P');


object3.process2('Q');


object3.process3('R');



Nov 15, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here