What is inheritance and give an example
Sigiloso
Inheritance is when a class inherits all the attributes and methods of another class. The inheriting class is able to extend the inherited attributes and methods. Example is letting a Car Model class inherits from a Car class