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

Mind map

Object

Paul Fernandez English

Map content

Object

  1. Methods (Actions)

    • Declaration
      • Method name
        • returnType
          • Primitive
          • Object
          • Void
            • No Return
          • Notation:
            • int
        • (List of Arguments)
          • Notation:
            • (int a, int b)
        • Notation:
          • add
    • Body
      • Code that performs action
    • Main
  2. Fields (Attributes)

    • Variables
    • Class
      • Object
    • Naming Convention:
      • paulExample
  3. Class (Template for Objects)

    • Object Clone
    • Object Clone
    • Naming Convention:
      • PaulExample
    • Constructor (Creates Object)
      • Same name as class
      • Declaration
        • constructorName
          • (List of Arguments)
            • Zero arguments is possible
      • Body
      • No Constructor
        • Compiler add no argument constructor
          • Won't be in source file
  4. Creating an object

    • Notation:
      • new Object() ;
    • Add to variable
      • Notation:
        • Object variable = new Object() ;
  5. Accessing Object Components

    • objectReference.methodName
    • objectReference.fieldName
  6. Reference Variable (Refers to Object)

    • If it has no value assign it "null"
      • Notation:
        • Object variable = null

Information

Description
Mind Map on Object, created by Paul Fernandez on 27/05/2021.
Created by
Paul Fernandez
Views
0
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?