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

Mindmap

Objects and Classes

jeremy kowkabany Englisch

Inhalt der Mindmap

Objects and Classes

  1. Objects: Things that exist

    • Attributes: Who I am, things about me
      • Gender
      • Height
      • Address
    • Actions: What I can do
      • Skip
      • Jump
      • Run
    • Create objects: Use new followed by contructor
  2. Classes: Template to create objects of identical type

    • Class Name: Use PascalNaming
      • UML has class name on top
    • Fields: Variables, can refer to other objects, use camelNaming
      • UML has Fields in middle
    • Methods: Actions, returns something and accepts some number arguments (even 0)
      • Bottom of UML
      • Method Main: Special method allowing class to be invoked.
    • Constructors: All classes have a constructor, creates objects, same name as class
  3. Null: Use when a variable doesn't have value

Informationen

Beschreibung
Mindmap am Objects and Classes, erstellt von jeremy kowkabany am 24/05/2020.
Erstellt von
jeremy kowkabany
Aufrufe
0
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck