nerdexam
Oracle

1Z0-807 · Question #31

Which three statements are true about inheritance?

The correct answer is 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. See the full explanation below for the reasoning.

Question

Which three statements are true about inheritance?

Options

  • AInheritance helps to reuse existing code implementations.
  • BIt should be possible to substitute the derived class for its base class.
  • CInheritance allows you to modify the behavior of objects.
  • DInheritance promotes encapsulation better than interfaces.
  • EThe derived class must override all methods of the base class.

How the community answered

(29 responses)
  • A
    79% (23)
  • D
    7% (2)
  • E
    14% (4)

Community Discussion

No community discussion yet for this question.

Full 1Z0-807 Practice