The preceding chapter discussed how one class can reference other classes via fields and properties. This chapter discusses how to use the inheritance relationship between classes to build class hierarchies that form an “is a” relationship.
Beginner Topic: Inheritance Definitions
The preceding chapter provided an overview of inheritance. Here’s a review of the defined terms.
• Derive/inherit: Specialize a base class to include additional members or customization of the base class members.
• Derived/sub/child type: The specialized type that inherits the members of the more general type.
• Base/super/parent type: The general type ...
The best content for your career. Discover unlimited learning
on demand for around $1/day.