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

Mindmap

Inheritance

Saketh Maganti Englisch

Inhalt der Mindmap

Inheritance

  1. Subclass (Child)

    • is a
    • Inherits all public methods and fields
    • Keyword: extends (denotes the subclass)
  2. Superclass (Parent)

    • The super class is what the subclass extends
    • You cannot have a sub class extends two super classes
  3. A line with an arrow is used ti depict the parent-child relationship

  4. Benefits

    • Can change the behavior of the existing class
    • Can add functionality not present in the original class
  5. Instance

Informationen

Beschreibung
Mindmap am Inheritance, erstellt von Saketh Maganti am 21/11/2019.
Erstellt von
Saketh Maganti · Nov 2019
Aktualisiert
23 Nov 2019
Aufrufe
0
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck