Mind map
Objects?
Map content
Objects?
Technical Defition
- Class VS Object?
- Class is the blueprint
- Only One
- Can't Be Directly Used
- Object is made from class
- As many copies as you need
- Runs actual code
- Class is the blueprint
- Attributes to hold data
- Methods to hold
- Private Vs Public
- Public can be used by other pieces of code
- Private can only be used within the object
- Class VS Object?
How Do They Relate To Getting Stuff Done?
- Real World Objects
- Attributes describe what the thing is
- A door can be open or closed
- A door can be locked or unlocked
- A door has a key
- Methods describe what the object can do or have done to it
- The door can be opened
- Someone can knock on the door
- Attributes describe what the thing is
- Abstract Objects
- Some pieces of code and data naturally fit together
- Make code reusable
- Easy to manage chunks
- Byte Code
- References the addresses of other pieces of data
- Helps compiler match the right code to the right data
- Real World Objects
Information
- Description
- Mind Map on Objects?, created by Scott Cornaby on 20/05/2019.
- Created by
- Scott Cornaby
- Views
- 0
- Rating