Mindmap
Object-Oriented Programming
Inhalt der Mindmap
Object-Oriented Programming
Classes: A blueprint or a template to create objects of identical type. Help programmers create an abstraction of a problem. Ex: class Employee; { / int age; / double salary; / }
- Objects: a model that resembles a real-life situation to solve your problem.
- Fields: variables that can be primitives or references to objects
- when a reference variable has no value, it is a null variable
- Fields: variables that can be primitives or references to objects
- Every class must have a constructor, which is used to build objects
- Objects: a model that resembles a real-life situation to solve your problem.
Method: define actions that a classes objects or instances can do. A method has a declaration part and body. The return type can be primitive, an object, or void (nothing)
- A special method is called the method main, which is the entry point into an application
Informationen
- Beschreibung
- Mindmap am Object-Oriented Programming, erstellt von Tyler Stephens am 28/08/2019.
- Erstellt von
- Tyler Stephens
- Aufrufe
- 2
- Bewertung