Mind map
Object-Oriented Programming
Map content
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
Information
- Description
- Mind Map on Object-Oriented Programming, created by Tyler Stephens on 28/08/2019.
- Created by
- Tyler Stephens
- Views
- 2
- Rating