GoConqr has a new look! Let us know what you think.

Mind map

Object-Oriented Programming

Tyler Stephens English

Map content

Object-Oriented Programming

  1. 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
    • Every class must have a constructor, which is used to build objects
  2. 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

Feedback

What is it about?

What do you think of the new look?

How do you like it?