Mind map
Objects and Classes
Map content
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
Information
- Description
- Mind Map on Objects and Classes, created by Daniel Daugherty on 23/01/2020.
- Created by
- Daniel Daugherty
- Views
- 0
- Rating