Mapa mental
Object oriented programming

Conteúdo do mapa
Object oriented programming
object: Dog
- Attributes: Color, age type, weight
- Actions: run, bark, urinate, stiff
- Attributes: Color, age type, weight
Java Language
- Class: Employee
- Objects: Employee
- Fields: Age (int), Salary (double)
- Methods: Work, ReceiveSalary
- Fields: Age (int), Salary (double)
- Objects: Employee
- UML to Code
- Class Classname {Classbody }
- Specify objects and fields
- Constructors (1st initialize the field, 2nd add values to it)
- Methods (eg. accessors (getName) and mutators (SetName))
- Constructors (1st initialize the field, 2nd add values to it)
- Specify objects and fields
- Main program
- Public static void main (String [] args)
- Create new objects using the keyword 'new'
- call on methods specified earlier to perform actions on the object
- Sys.out (print)
- call on methods specified earlier to perform actions on the object
- Create new objects using the keyword 'new'
- Class
- Public static void main (String [] args)
- Class Classname {Classbody }
- Class: Employee
Imagens e arquivos do mapa
Informações
- Descrição
- Mapa Mental sobre Object oriented programming, criado por Wanru Guo em 18-05-2021.
- Criado por
- Wanru Guo
- Visualizações
- 0
- Avaliação