Mindmap
Objects & Classes
Inhalt der Mindmap
Objects & Classes
Objects
- Fields
- Variables that are primitives or references to objects
- Methods
- Define actions that a class's objects can do
- Declaration
- Consists of a return value, method name, and list of arguments
- Body
- Consists of the code that performs the action
- main
- A special method that provides the entry point to an application and allows the class containing it to be invoked
- Has attributes and can perform actions
- Fields
Classes
- A blueprint or a template to create object of identical type
- Classes determine what kind of objects you get
- Constructor
- A method not containing an return value that is used to construct an object
Informationen
- Beschreibung
- Mindmap am Objects & Classes, erstellt von Sam Beazley am 18/05/2020.
- Erstellt von
- Sam Beazley
- Aufrufe
- 1
- Bewertung