Inheritance means that you can create a new class from a current class. This new class can then use the properties and methods of the original class it inherited from.

The new class that has been derived is called a subclass, derived class or a child class. A good example is a Car Class. All cars, regardless of make, inherits the properties and methods of the Car superclass.

The animals are a dog, a cat and a bird
They all can be domesticated

ICT3612 - 44993072: Task 7 Code