which two are examples of polymorphism?

Given concrete class B is a subclass of concrete class A, and class A implements interface C,

which two are examples of polymorphism? (Choose two.)

Given concrete class B is a subclass of concrete class A, and class A implements interface C,

which two are examples of polymorphism? (Choose two.)

A.
use a reference variable of type C to refer to an instance of type B

B.
use a reference variable of type A to refer to an instance of type C

C.
use a reference variable of type C to refer to an instance of type A

D.
use a reference variable of type A to refer to an instance of type B

E.
use a reference variable of type B to refer to an instance of type A



Leave a Reply 0

Your email address will not be published. Required fields are marked *