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.
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 ...
With Safari, you learn the way you learn best. Get unlimited access to videos, live online training,
learning paths, books, interactive tutorials, and more.