Mapa mental
Object-Oriented Prgramming
Contenido del mapa
Object-Oriented Prgramming
Class
- Object
- Fields
- A field is an attribute or characteristic that an object or class has. This includes the values that the object contains.
- Ex. age, maxAge, numberOfRows
- Methods
- Methods are actions performed by or on the object or class.
- Ex. getObject, add, main
- Returns
- Primitive
- Object
- Void
- Void means the method returns nothing.
- A object is an instance of a class with specific values assigned to it.
- Values (data)
- Null
- Null refers to when a reference variable does not have a value.
- Null
- Fields
- A class is a template or blueprint to create objects of the same structures with the same data types.
- Data Type
- A data type describes the form certain data will take.
- Ex. double, int, String
- Class Name
- Constructor
- A constructor is similar like a method and is used to produce an object. However, there is no return value.
- new
- new
- Keyword used before the constructor to create an object.
- Object
UML Class Diagram
- A UML Class Diagram is tool used to represent the different classes within a program and their relations to each other. It also details the attributes and methods within each class.
Información
- Descripción
- Mapa Mental sobre Object-Oriented Prgramming, creado por Rodolfo Gonzalez el 10/09/2019.
- Creado por
- Rodolfo Gonzalez
- Visitas
- 0
- Valoración