Mapa mental
Object Oriented Programming
Conteúdo do mapa
Object Oriented Programming
Object
- Something that has attributes and can perform actions
- Class determines the types of objects you can get
Class
- Blueprint to create objects of identical types
- Three important factors for creating a class: Class name, fields (attributes), methods (actions)
- Class name: The name or descriptor of your class, formatted with keyword class followed by className
- Fields are variables or traits of any given object in the class that follow the camel case naming convention (validAddress, maxAge)
- Methods define actions that the objects of the class can do, has a declaration part and a body
- Constructors
- Every class must have at least one and it is used to create an object
- Three important factors for creating a class: Class name, fields (attributes), methods (actions)
- Blueprint to create objects of identical types
Informações
- Descrição
- Mapa Mental sobre Object Oriented Programming, criado por Nidhi Suresh em 27-08-2019.
- Criado por
- Nidhi Suresh
- Visualizações
- 0
- Avaliação