Mind map
Objects and Classes
Map content
Objects and Classes
Objects: Things that exist
- Attributes: Who I am, things about me
- Gender
- Height
- Address
- Actions: What I can do
- Skip
- Jump
- Run
- Create objects: Use new followed by contructor
- Attributes: Who I am, things about me
Classes: Template to create objects of identical type
- Class Name: Use PascalNaming
- UML has class name on top
- Fields: Variables, can refer to other objects, use camelNaming
- UML has Fields in middle
- Methods: Actions, returns something and accepts some number arguments (even 0)
- Bottom of UML
- Method Main: Special method allowing class to be invoked.
- Constructors: All classes have a constructor, creates objects, same name as class
- Class Name: Use PascalNaming
Null: Use when a variable doesn't have value
Information
- Description
- Mind Map on Objects and Classes, created by jeremy kowkabany on 24/05/2020.
- Created by
- jeremy kowkabany
- Views
- 0
- Rating