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

Mindmap

Inheritance

John Poulos Englisch

Inhalt der Mindmap

Inheritance

  1. Extending a class or subclassing or inheriting a class

    • Inheritance allows you to add methods that don't exist in the original class while still retaining the original features.
      • Java does not inherit from multiple classes. Can't extend a class from two different classes.
        • Interface gets around this issue and supports the functionality of multiple inheritance.
      • Can continue to subclass as needed. The final keyword prevents further subclassing.
        • Multilevel inheritance has limits to access to distant classes. Grandparent ---> Parent ----> Child Child has no access to grandparent.

Informationen

Beschreibung
Mindmap am Inheritance, erstellt von John Poulos am 03/08/2019.
Erstellt von
John Poulos
Aufrufe
0
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck