...

/

Solution Review: Inheritance

Solution Review: Inheritance

This lesson discusses the solution for the inheritance problem in the previous lesson.

We'll cover the following...

Solution:

Notice that in line 18 Square inherits from Rectangle ...