Mind map
Object oriented programming

Map content
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
Images and files in the map
Information
- Description
- Mind Map on Object oriented programming, created by Wanru Guo on 18/05/2021.
- Created by
- Wanru Guo
- Views
- 0
- Rating