Mapa mental
Inheritance
Contenido del mapa
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
Información
- Descripción
- Mapa Mental sobre Inheritance, creado por Brittany McDaniel el 23/11/2019.
- Creado por
- Brittany McDaniel
- Visitas
- 0
- Valoración