Define inheritance.
Inheritance is the process by which objects can acquire the properties of objects of other class.