Microsoft
98-361 · Question #165
Which term is used to describe a class that inherits functionality from an existing class?
The correct answer is D. Derived class. Classes (but not structs) support the concept of inheritance. A class that derives from another class (the base class) automatically contains all the public, protected, and internal members of the base class except its constructors and destructors.
Understanding Object-Oriented Programming
Question
Which term is used to describe a class that inherits functionality from an existing class?
Options
- ASuperclass
- BBase class
- CInherited class
- DDerived class
How the community answered
(34 responses)- A3% (1)
- B9% (3)
- C3% (1)
- D85% (29)
Explanation
Classes (but not structs) support the concept of inheritance. A class that derives from another class (the base class) automatically contains all the public, protected, and internal members of the base class except its constructors and destructors.
Topics
#inheritance#derived class#class hierarchy#terminology
Community Discussion
No community discussion yet for this question.