-Inheritance allows us to define a class that inherits all the methods and properties from another class.
it is the class being inherited from, also called base class.
Child class is the class that inherits from another class, also called derived class.
When a child class inherits the property of more then one parent class then it is said to be multiple inheritance.
-Here class C is inherits the property of class A and class B.
-constructor is a special type of function of the class which is automatically call when the instance of the class is created.