nerdexam
Microsoft

98-372 · Question #81

Which of the following statements is TRUE about inheritance?

The correct answer is B. It allows you to reuse code from the base class.. Inheritance allows you to create a sub class that extends the functionality of a base class, letting the developer reuse code from the base class.

Understanding Namespaces and Classes

Question

Which of the following statements is TRUE about inheritance?

Options

  • AIt does not allow you to reuse code.
  • BIt allows you to reuse code from the base class.
  • CIt requires changes in code when a class connects to the base class.
  • DIt prevents you from accessing the super class.

How the community answered

(26 responses)
  • A
    19% (5)
  • B
    69% (18)
  • C
    8% (2)
  • D
    4% (1)

Explanation

Inheritance allows you to create a sub class that extends the functionality of a base class, letting the developer reuse code from the base class.

Topics

#inheritance#base class#code reuse#OOP

Community Discussion

No community discussion yet for this question.

Full 98-372 Practice