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

Mindmap

FirstTask

HJ Lee Englisch

Inhalt der Mindmap

FirstTask

  1. JAVA OBJECT

    • Company
      • Employees
        • Tax
        • Age
        • Salary
    • Attributes
      • Fields
    • Actions
      • Method
  2. Java Classes

    • Class name
    • Fields
      • Age
      • Salary
    • Methods
      • returnType methodName (listOfArguments)
        • int negate(int number)
        • int add (int a, int b)
      • Void: no return
      • Main
        • public static main void (String [] args)
        • java className arg 1, arg 2...
        • java Test 1 safeMode
    • class className { [class body] }
    • Constructors
      • constructorName (listOfArguments) { [constructor body] }
      • initialize the fields
  3. Creating Objects

    • instance/instantiate
    • new is always followed by the constructor
      • new employee ();
    • objectReference.method/fields Name
      • null: when there is no value
        • == operator to test

Informationen

Beschreibung
Mindmap am FirstTask, erstellt von HJ Lee am 11/09/2020.
Erstellt von
HJ Lee
Aufrufe
0
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck