Syntax for Inheritance

As we did in chapters 5 and 6, we start by considering the syntax used to designate inheritance. While the idea is the same, some languages use a colon, some use a keyword, others just place the parent name in a special location in the class description.

[audio] [real] Text to accompany slide08, in Chapter 8 of An Introduction to Object-Oriented Programming