Mapa mental
Objects and Classes
Contenido del 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
Información
- Descripción
- Mapa Mental sobre Objects and Classes, creado por Daniel Daugherty el 23/01/2020.
- Creado por
- Daniel Daugherty
- Visitas
- 0
- Valoración