Mind map
Object-Oriented Programing
Map content
Object-Oriented Programing
fields- attributes about the object
- Variables can be primitive or references to objects
methods- actions the object can take
- Methods contain a declaration part and a body.
- The declaration part consists of a return value, the method name, and a list of arguments
- The body contains code that perform the action
- Methods contain a declaration part and a body.
Class: has a class name, fields, and methods
- constructors create the class (no return type)
- null= lack of object (nothing)
creating objects use "new" and define their variables
Information
- Description
- Mind Map on Object-Oriented Programing, created by Jason Liu on 17/01/2020.
- Created by
- Jason Liu
- Views
- 0
- Rating