Mapa mental
Objects and Classes
Conteúdo do mapa
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
Informações
- Descrição
- Mapa Mental sobre Objects and Classes, criado por jeremy kowkabany em 24-05-2020.
- Criado por
- jeremy kowkabany
- Visualizações
- 0
- Avaliação