Mindmap
First Task
Inhalt der Mindmap
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
Informationen
- Beschreibung
- Mindmap am First Task, erstellt von Joyce Xie am 27/08/2019.
- Erstellt von
- Joyce Xie
- Aufrufe
- 0
- Bewertung