OOP Inheritance concept application.