Mindmap
Object-Oriented Programing
Inhalt der Mindmap
Object-Oriented Programing
fields- attributes about the object
- Variables can be primitive or references to objects
methods- actions the object can take
- Methods contain a declaration part and a body.
- The declaration part consists of a return value, the method name, and a list of arguments
- The body contains code that perform the action
- Methods contain a declaration part and a body.
Class: has a class name, fields, and methods
- constructors create the class (no return type)
- null= lack of object (nothing)
creating objects use "new" and define their variables
Informationen
- Beschreibung
- Mindmap am Object-Oriented Programing, erstellt von Jason Liu am 17/01/2020.
- Erstellt von
- Jason Liu
- Aufrufe
- 0
- Bewertung