Mapa mental
Object-Oriented Programing
Contenido del mapa
Object-Oriented Programing
fields- attributes about the object
- Variables can be primitive or references to objects
methods- actions the object can take
- Methods contain a declaration part and a body.
- The declaration part consists of a return value, the method name, and a list of arguments
- The body contains code that perform the action
- Methods contain a declaration part and a body.
Class: has a class name, fields, and methods
- constructors create the class (no return type)
- null= lack of object (nothing)
creating objects use "new" and define their variables
Información
- Descripción
- Mapa Mental sobre Object-Oriented Programing, creado por Jason Liu el 17/01/2020.
- Creado por
- Jason Liu
- Visitas
- 0
- Valoración