Which two techniques can be used to provide polymorphic behavior?

Which two techniques can be used to provide polymorphic behavior? (Choose two.)

Which two techniques can be used to provide polymorphic behavior? (Choose two.)

A.
Extending a class and adding a new method

B.
Implementing two interfaces in the same class

C.
Extending a class and overriding an existing method

D.
Implementing an interface with several different classes



Leave a Reply 0

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