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

Mindmap

Inheritance and Polymorphism

anyelo.amado Informática II Spanisch

Inhalt der Mindmap

Inheritance and Polymorphism

  1. Superclass and Subclass

    • A superclass has instance variables and methods that are general to all subclasses
      • class SavingsAccount extends BankAccount
        • SavingsAccount is a BankAccount
    • Constructors
      • Instance variable initialization
      • may
        • Call to a constructor of the superclass explicitly in the constructor of the subclass.
    • Member Accessibility
      • Are
        • Public
        • Private
        • Protected
        • Package visibility
  2. Abstract Superclasses

    • have
      • Abstract Methods
        • Method without implementation
        • can be
          • overwritten
        • public abstract void CalculateBalance ();
    • no instances can be created
    • abstract class BankAccount
  3. OBJECT ORIENTED PROGRAMMING

    • Interface
      • Is
        • Data type
      • have
        • Signature of methods
      • class SavingsAccount extends BankAccount implements transfer
  4. Polymorphism

    • is
      • multiple answers a call

Informationen

Beschreibung
Informática II Mindmap am Inheritance and Polymorphism, erstellt von anyelo.amado am 16/03/2014.
Erstellt von
anyelo.amado
Aufrufe
43
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck