Mapa mental
Object oriented programming

Contenido del 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
Imágenes y archivos del mapa
Información
- Descripción
- Mapa Mental sobre Object oriented programming, creado por Wanru Guo el 18/05/2021.
- Creado por
- Wanru Guo
- Visitas
- 0
- Valoración