Multiple Choice Question

Quiz Guidelines



Consider the following classes :

class A{
public void mA(){ };
class B extends A {
public void mA(){ }
public void mB() { }
}class C extends B {
public void mC(){ }
and the following declarations:
A x = new B(); B y = new B(); B z = new C();

Which of the following calls are polymorphic calls?

Select 3 options

A. x.mA();
B. x.mB();
C. y.mA();
D. z.mC();
E. z.mB();

Q&A Set: