nerdexam
Microsoft

98-361 · Question #184

Which of the following must exist to inherit attributes from a particular class?

The correct answer is D. An is-a relationship. There must be some public properties that can be inherited.

Understanding Object-Oriented Programming

Question

Which of the following must exist to inherit attributes from a particular class?

Options

  • APublic properties
  • BA has-a relationship
  • CStatic members
  • DAn is-a relationship

How the community answered

(23 responses)
  • A
    17% (4)
  • B
    4% (1)
  • C
    9% (2)
  • D
    70% (16)

Explanation

There must be some public properties that can be inherited.

Topics

#inheritance#is-a relationship#OOP design#class relationships

Community Discussion

No community discussion yet for this question.

Full 98-361 Practice