Mapa mental
First Task
Contenido del mapa
First Task
Object oriented programming (OOP)
- attributes perform actions
- attributes - fields
- actions - methods
- methods often called functions
- class determines object
- all program elements in Java must reside in class
- 3 components of class
- class name
- class className { (class body) }
- the fields
- the methods
- class name
- 3 components of class
- all program elements in Java must reside in class
- attributes perform actions
Fields = variables
Methods
- define actions that a class's objects can do
- declaration part
- body part
- define actions that a class's objects can do
constructors
- min 1 per class
- or else no objects can be created out of the class
- no return value
- not even void
- min 1 per class
UML Class Diagrams
null
- reference does not have value
Joyce Xie
Información
- Descripción
- Mapa Mental sobre First Task, creado por Joyce Xie el 27/08/2019.
- Creado por
- Joyce Xie
- Visitas
- 0
- Valoración