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

Mapa mental

Classes

Zach Assid Inglés

Contenido del mapa

Classes

  1. Blueprint/template

  2. Naming Convention: Capitalize the Initial of Each Word

  3. Constructor

    • Objects
      • Fields (attributes)
        • Examples for car: 1) color 2) number of tires 3) plate number 4) number of valves
        • Camel Naming Convention
      • Methods (actions)
        • Examples for car: 1) run 2) brake
        • Camel Naming Convention
      • Both fields and methods are optional
      • Creating an object: Use new keyword
        • Example: new Employee();
      • Assigning to an Object Variable: Declare an object reference with the same type as the object
        • Example: Employee employee = new Employee();
      • Call a method or field: Use a period (.)
        • Examples: objectReference.methodName objectReference.fieldName
      • Reference Variable has No Value: Use "null"
        • Example: Book book = null;
    • Every class has at least one
    • Often called "a constructor method" but does not have a return value

Información

Descripción
Mapa Mental sobre Classes, creado por Zach Assid el 28/05/2020.
Creado por
Zach Assid
Visitas
0
Valoración

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?