Mind map
First Task
Map content
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
Information
- Description
- Mind Map on First Task, created by Joyce Xie on 27/08/2019.
- Created by
- Joyce Xie
- Views
- 0
- Rating