Mindmap
Inheritance
Inhalt der Mindmap
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
Informationen
- Beschreibung
- Mindmap am Inheritance, erstellt von Brittany McDaniel am 23/11/2019.
- Erstellt von
- Brittany McDaniel
- Aufrufe
- 0
- Bewertung