Mapa mental
Object-Oriented Programming (OOP)
Conteúdo do mapa
Object-Oriented Programming (OOP)
Classes
- Template to create objects Classification that dictates the objects' fields and methods
- Syntax
- *class className { [class body] }
- Dictates if objects will have
- Fields
- A variable, defines characteristics and input parameters
- Work as a general blueprint for future objects
- A variable, defines characteristics and input parameters
- Methods
- Actions that objects will perform
- Syntax
- *returnType methodName(listOfArguments);
- Syntax
- Main Method
- Entry point for an application (only one class needs it)
- Actions that objects will perform
- Fields
- A type of performer that will give common identification to objects
Objects
- Represents real life entities under a defined class
- Syntax Example
- *Employee employee = new Employee(); employee.age = 24; employee.salary = 50000;
- Data Input from real world
- Give identity to fields and methods for a specific case
THINKING PROCESS
- 1) QUESTIONS TO ASK YOURSELF
- Functional requirements?
- World's Problem?
- Non-functional requirements?
- 2) Solution
- Analysis
- Design
- Construction
- 1) QUESTIONS TO ASK YOURSELF
Informações
- Descrição
- Mapa Mental sobre Object-Oriented Programming (OOP), criado por Federico Rivas em 17-05-2020.
- Criado por
- Federico Rivas
- Visualizações
- 4
- Avaliação