Mapa mental
First Task
Conteúdo do 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
Informações
- Descrição
- Mapa Mental sobre First Task, criado por Joyce Xie em 27-08-2019.
- Criado por
- Joyce Xie
- Visualizações
- 0
- Avaliação