Mind map
Inheritance
Map content
Inheritance
Superclass
- Subclass (can be multiples)
- It inherits all the methods and fields from the superclass
- It can also access the public methods
- Superclass can override a method in the subclass
- A constructor in the subclass calls a constructor from the superclass
- Can upcast an object from the subclass
- Subclass (can be multiples)
Makes code extensible
Information
- Description
- Mind Map on Inheritance, created by Brittany McDaniel on 23/11/2019.
- Created by
- Brittany McDaniel
- Views
- 0
- Rating