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

Mind map

FirstTask

HJ Lee English

Map content

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

Information

Description
Mind Map on FirstTask, created by HJ Lee on 11/09/2020.
Created by
HJ Lee
Views
0
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?