Mapa mental
Object Oriented Programming
Contenido del 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
Información
- Descripción
- Mapa Mental sobre Object Oriented Programming, creado por Nidhi Suresh el 27/08/2019.
- Creado por
- Nidhi Suresh
- Visitas
- 0
- Valoración