Mindmap
Computer Programming: Objects and Classes

Inhalt der Mindmap
Computer Programming: Objects and Classes
Object
- Attributes (Fields)
- Actions (Methods)
- Example: Car
- Attributes: Color, Number of Tires, License Plate Number, Make, Model, etc.
- Actions: Run, Break, etc.
- Attributes: Color, Number of Tires, License Plate Number, Make, Model, etc.
Classes
- Classes are essentially blueprints that eventually guide the construction of Java objects
- Class Name
- Fields
- Methods
- Defines the actions that an object can do
- Declaration Part
- Return Value, Method Name, List of Arguments
- Return Value, Method Name, List of Arguments
- Body
- The Code that Performs the Action
- Declaration Part
- Defines the actions that an object can do
- Methods
- Fields
- Class Name
- Classes are essentially blueprints that eventually guide the construction of Java objects
Syntax for writing classes
UML Class Diagrams
- Class Name
- List of Fields
- List of Methods
- List of Fields
- Class Name
The Method Main
- A special method that provides the entry point to the application, only ONE class in the application needs to have a main method
- A special method that provides the entry point to the application, only ONE class in the application needs to have a main method
Constructors
- Every class must have at least one constructor in order to create objects within the class
- Every class must have at least one constructor in order to create objects within the class
Bilder und Dateien der Mindmap
Informationen
- Beschreibung
- Mindmap am Computer Programming: Objects and Classes, erstellt von Camille Eyman am 13/01/2020.
- Erstellt von
- Camille Eyman
- Aufrufe
- 0
- Bewertung






