Inheritance allows a class to inherit characteristics from a parent class. The child class inherits methods and data from the parent class. Inheritance is shown with arrows pointing from the child class to the parent class. Common examples of inheritance hierarchies include shapes, animals, and accounts. The protected access modifier allows child classes to access protected members of the parent class. Polymorphism through inheritance allows a reference variable to refer to objects of different classes in the inheritance hierarchy.