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

Mapa mental

Chapter 4 Reading Java Objects & Classes

Christina Dounis Inglés

Chapter 4 Reading Java Objects & Classes

Contenido del mapa

Chapter 4 Reading Java Objects & Classes

  1. Constructor: Used to construct an object; each class must contain one of these and it will have the same name as the class.

    • Java Object (aka Instance): can be thought of as everyday objects in life that describe
      • Attributes (aka fields): they are variables; almost like qualities
      • Actions (aka methods/functions): describe what the object can do/preform
        • Declaration Part (aka signature of the method)
          • return value
          • method name
          • list of arguments
        • Body:
          • code that can preform the action
        • *Note* : The return type of a method can be a primitive, an object, or a void. The retunr type void means that the method returns nothing
  2. Example of UML class diagram

    • The "Dog" is the class, "breed, size, age, & color" are the list of fields or attributes, and "eat, sleep, sit, run" are the methods or actions
  3. Java Class: a blueprint or template to create objects of identical type; determines what kind of object you get

Imágenes y archivos del mapa

  • Chapter 4 Reading Java Objects & Classes

Información

Descripción
Mapa Mental sobre Chapter 4 Reading Java Objects & Classes, creado por Christina Dounis el 14/01/2020.
Visitas
0
Valoración

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?