Mindmap
Objects and Classes
Inhalt der Mindmap
Objects and Classes
Objects
- Attributes (Fields)
- Actions (Methods)
- Aka an instance
Classes
- Name
- Fields
- Are Variables
- Can refer to objects
- Methods
- Define actions an object can do
- Have declaration and body
- Main
- Provides entry point
- Constructors
- Must have at least one
- Method to construct object
- Does not have return value
Creating Objects
- new Constructor()
Null Keyword
- When reference variable does not have a value
- Can test this using the == operator
- When reference variable does not have a value
Informationen
- Beschreibung
- Mindmap am Objects and Classes, erstellt von Daniel Daugherty am 23/01/2020.
- Erstellt von
- Daniel Daugherty
- Aufrufe
- 0
- Bewertung