Task:
- Create an example of Inheritance. 3.1. Inherit a class.
Implementation:
I have created a parent class that extends a child class and it also shows the concept of method overriding
Implementation:
I have created a parent class that extends a child class and it also shows the concept of method overriding