Inheritance trouble understanding how to use it?

Printable View