GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Mindmap

Chapter 4 Reading Java Objects & Classes

Christina Dounis Englisch

Chapter 4 Reading Java Objects & Classes

Inhalt der Mindmap

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

Bilder und Dateien der Mindmap

  • Chapter 4 Reading Java Objects & Classes

Informationen

Beschreibung
Mindmap am Chapter 4 Reading Java Objects & Classes, erstellt von Christina Dounis am 14/01/2020.
Erstellt von
Christina Dounis
Aufrufe
0
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck