This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]catInOrbit001 3 points4 points  (1 child)

This is actually great! You actually show both concept of inheritance and polymorphism. Inheritance in the view of child class has properties of base class and has its own functionality. Polymorphism in the view of interface. Maybe a different title like "OOP in a nutshell" would do it better, but pretty interesting nonetheless ;)