Mapa mental
Object-Oriented Programing
Conteúdo do 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
Informações
- Descrição
- Mapa Mental sobre Object-Oriented Programing, criado por Jason Liu em 17-01-2020.
- Criado por
- Jason Liu
- Visualizações
- 0
- Avaliação