Mapa mental
Objects and Classes
Conteúdo do mapa
Objects and Classes
Objects
- Attributes (Fields)
- Actions (Methods)
- Aka an instance
Classes
- Name
- Fields
- Are Variables
- Can refer to objects
- Methods
- Define actions an object can do
- Have declaration and body
- Main
- Provides entry point
- Constructors
- Must have at least one
- Method to construct object
- Does not have return value
Creating Objects
- new Constructor()
Null Keyword
- When reference variable does not have a value
- Can test this using the == operator
- When reference variable does not have a value
Informações
- Descrição
- Mapa Mental sobre Objects and Classes, criado por Daniel Daugherty em 23-01-2020.
- Criado por
- Daniel Daugherty
- Visualizações
- 0
- Avaliação