Inheritance is the process of creating a new class that is based on an existing class. When a class hold a foundation that another class can use, you can create the new class that is based on the old one: this is the foundation of class inheritance, or simply called inheritance.