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

Mindmap

Inheritace

Ramses Chávez Spanisch

Inheritace

Inhalt der Mindmap

Inheritace

  1. The idea of inheritance is to allow the creation of new classes based on existing classes.

    • When we inherit from an existing class, we reuse (or we inherit) methods and fields, and we add new fields and methods to meet the new situation.
      • Every time we find the relationship "is-an" between two classes, we are faced with the presence of inheritance.
  2. Single inheritance: where subclasses inherit the features of one superclass. A class acquires the properties of another class.

    • Multiple inheritance: where one class can have more than one superclass and inherit features from all parent classes.
      • Multilevel inheritance: where a subclass is inherited from another subclass.
        • Hierarchical inheritance: where one class serves as a superclass (base class) for more than one sub class.
          • Hybrid inheritance a mix of two or more of the above types of inheritance

Bilder und Dateien der Mindmap

  • Inheritace

Informationen

Beschreibung
Mindmap am Inheritace, erstellt von Ramses Chávez am 12/09/2017.
Erstellt von
Ramses Chávez
Aufrufe
0
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck