GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Mindmap

Object-Oriented Programming

Tyler Stephens Englisch

Inhalt der Mindmap

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

Informationen

Beschreibung
Mindmap am Object-Oriented Programming, erstellt von Tyler Stephens am 28/08/2019.
Erstellt von
Tyler Stephens
Aufrufe
2
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck