Mapa mental
Inheritance
Conteúdo do 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
Informações
- Descrição
- Mapa Mental sobre Inheritance, criado por Brittany McDaniel em 23-11-2019.
- Criado por
- Brittany McDaniel
- Visualizações
- 0
- Avaliação