![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Chapter 12: | How To Define Classes that Inherit Instance Variables and Methods |
In this chapter, you learn that instance variables that you list in a class definition appear automatically in all that class's subclasses. Thus, you begin to learn about inheritance, one of the key concepts that distinguish object-oriented programming from traditional programming.