Mind map
Computer Programming: Objects and Classes

Map content
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
Images and files in the map
Information
- Description
- Mind Map on Computer Programming: Objects and Classes, created by Camille Eyman on 13/01/2020.
- Created by
- Camille Eyman
- Views
- 0
- Rating






