Mindmap
Object oriented programming

Inhalt der Mindmap
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
Bilder und Dateien der Mindmap
Informationen
- Beschreibung
- Mindmap am Object oriented programming, erstellt von Wanru Guo am 18/05/2021.
- Erstellt von
- Wanru Guo
- Aufrufe
- 0
- Bewertung