Which three statements are true about inheritance?

Which three statements are true about inheritance?

Which three statements are true about inheritance?

A.
Inheritance helps to reuse existing code implementations.

B.
It should be possible to substitute the derived class for its base class.

C.
Inheritance allows you to modify the behavior of objects.

D.
Inheritance promotes encapsulation better than interfaces.

E.
The derived class must override all methods of the base class.



Leave a Reply 1

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