Mapa mental
Inheritance
Conteúdo do mapa
Inheritance
Subclass (Child)
- is a
- Inherits all public methods and fields
- Keyword: extends (denotes the subclass)
Superclass (Parent)
- The super class is what the subclass extends
- You cannot have a sub class extends two super classes
A line with an arrow is used ti depict the parent-child relationship
Benefits
- Can change the behavior of the existing class
- Can add functionality not present in the original class
Instance
Informações
- Descrição
- Mapa Mental sobre Inheritance, criado por Saketh Maganti em 21-11-2019.
- Criado por
- Saketh Maganti · nov 2019
- Atualizado
- 23 nov 2019
- Visualizações
- 0
- Avaliação