Inheritance
- Inheritance allows a class to be a subclass of a superclass, and thereby inherit public and protected variables and methods of the superclass.
- Inheritance is a key concept that underlies IS-A, polymorphism, overriding, overloading, and casting.
- All classes (except class Object), are subclasses of type Object, and therefore they inherit Object's methods.