Examples of inheritance