Mindmap
Objects and Classes
Inhalt der Mindmap
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
Informationen
- Beschreibung
- Mindmap am Objects and Classes, erstellt von jeremy kowkabany am 24/05/2020.
- Erstellt von
- jeremy kowkabany
- Aufrufe
- 0
- Bewertung