Multiple Choice Question

Quiz Guidelines

 

QID: 
371
Question: 

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: 

Search the Web

Custom Search

Searches whole web. Use the search in the right sidebar to search only within javajee.com!!!