¡GoConqr estrena diseño! Cuéntanos qué te parece.

Mapa mental

Object

Paul Fernandez Inglés

Contenido del mapa

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

Información

Descripción
Mapa Mental sobre Object, creado por Paul Fernandez el 27/05/2021.
Creado por
Paul Fernandez
Visitas
0
Valoración

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?