Home Segments Index Top Previous Next

Chapter 15:

How To Define Classes that Inherit Variables and Functions

In this chapter, you learn that you can tie together classes in hierarchies such that the member variables declared in one class automatically appear in objects belonging to another. Thus, you learn about inheritance, one of the key concepts that distinguish object-oriented programming from traditional programming.