Mindmap
Object Oriented Programming
Inhalt der Mindmap
Object Oriented Programming
Object
- Something that has attributes and can perform actions
- Class determines the types of objects you can get
Class
- Blueprint to create objects of identical types
- Three important factors for creating a class: Class name, fields (attributes), methods (actions)
- Class name: The name or descriptor of your class, formatted with keyword class followed by className
- Fields are variables or traits of any given object in the class that follow the camel case naming convention (validAddress, maxAge)
- Methods define actions that the objects of the class can do, has a declaration part and a body
- Constructors
- Every class must have at least one and it is used to create an object
- Three important factors for creating a class: Class name, fields (attributes), methods (actions)
- Blueprint to create objects of identical types
Informationen
- Beschreibung
- Mindmap am Object Oriented Programming, erstellt von Nidhi Suresh am 27/08/2019.
- Erstellt von
- Nidhi Suresh
- Aufrufe
- 0
- Bewertung