Mind map
Object Oriented Programming
Map content
Object Oriented Programming
Objects
- Every Object has two features:
- Fields
- Variables that represent:
- Primitive data types e.g. int
- Other objects
- Typically written in camel case e.g. carSpeed
- Variables that represent:
- Methods
- Methods define what actions a class's object can make
- Constructors: Methods with the same name as the class used to instantiate objects
- Main method: The entry point to an application
- public static void main(String[] args)
- Fields
- Objects must be instantiated through a constructor before they can be referenced
- Every Object has two features:
Classes: a Java class is a blueprint/template to make objects of identical type
Information
- Description
- Mind Map on Object Oriented Programming, created by Darren Hallihan on 27/08/2019.
- Created by
- Darren Hallihan
- Views
- 0
- Rating