Mindmap
JAVA Objects & Classes
Inhalt der Mindmap
JAVA Objects & Classes
Class
- blueprint or template
- determines what objects you get
- must have at least one constructor
- 3 considerations
- classname
- fields
- variables and/or primitive references
- methods
- defines actions that a class's object can do
- return types
- primitive
- object
- void
- method main
- provides entry point
- return types
- comprised of declaration & body
- body
- code to perform action
- declaration
- return value, method name, list arg
- body
- defines actions that a class's object can do
Object
- 2 considerations
- attributes/fields
- actions/methods
- new keyword followed by constructor of the class used to create new object
- use reference variables to manipulate later
- model for "real life"
- 2 considerations
Informationen
- Beschreibung
- Mindmap am JAVA Objects & Classes, erstellt von Danielle Dietz am 27/05/2021.
- Erstellt von
- Danielle Dietz
- Aufrufe
- 0
- Bewertung