Mapa mental
Objects & Classes
Contenido del mapa
Objects & Classes
Objects
- Fields
- Variables that are primitives or references to objects
- Methods
- Define actions that a class's objects can do
- Declaration
- Consists of a return value, method name, and list of arguments
- Body
- Consists of the code that performs the action
- main
- A special method that provides the entry point to an application and allows the class containing it to be invoked
- Has attributes and can perform actions
- Fields
Classes
- A blueprint or a template to create object of identical type
- Classes determine what kind of objects you get
- Constructor
- A method not containing an return value that is used to construct an object
Información
- Descripción
- Mapa Mental sobre Objects & Classes, creado por Sam Beazley el 18/05/2020.
- Creado por
- Sam Beazley
- Visitas
- 1
- Valoración