Mindmap
Class
Inhalt der Mindmap
Class
SUBCLASS
- Inherits all public methods and fields of its superclass
- You can call parent's constructor from a subclass' constructor by using the super keyword - but it has to be the first statement in the constructor
- Super keyword can also be used to call a hidden member or an overridden method in a superclass
- You can prevent others from extending your class by making it final using the keyword final
- You can only cast an instance of a subclass to its parent class
- You can call parent's constructor from a subclass' constructor by using the super keyword - but it has to be the first statement in the constructor
- Inherits all public methods and fields of its superclass
Informationen
- Beschreibung
- Mindmap am Class, erstellt von Armina Šito am 22/11/2019.
- Erstellt von
- Armina Šito
- Aufrufe
- 0
- Bewertung