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');
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here