Computer Science, asked by Mridul2737, 11 months ago

Assume that class a extends class b, which extends class c. Also all the three classes implement the method test(). How can a method in a class a invoke the test() method defined in class c (without creating a new instance of class c).A::test();ba. Test();cit is not possible to invoke test() method defined in c from a method in a.Dsuper.Test();ec.Test();fsuper.Super.Test();

Answers

Answered by Anonymous
0

Explanation:

Assume that class a extends class b, which extends class c. Also all the three classes implement the method test(). How can a method in a class a invoke the test() method defined in class c (without creating a new instance of class c).A::test();ba. Test();cit is not possible .

Similar questions