Java Interview Questions on Polymorphism - 2
Question: 1
(A) class-A class-A
(B) class-B class-B
(C) class-B class-A
(D) class-A class-B
Level: Practitioner Category: polymorphism
[Posted by: Admin | Chicago, USA]
Question: 2
(A) void methodA(){} int methodA(){}
(B) void methodA(){} void methodA(int a){}
(C) void methodA(){} int methodB(int a){}
(D) int methodA(){} int methodAA(i{}
Level: Practitioner Category: polymorphism
[Posted by: Admin | Chicago, USA]