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

Karteikarten

OOP - Inheritence

nhunsdale02 Programming I Masters Englisch 8 Karten

Karten in diesem Stapel (8)

  1. 1Inheritance It is a form of software _____reuse
  2. 2Inheritance What is it?A class absorbing an existing class's members and adapting them with new or modified capabilities
  3. 3In Java, can classes inherit multiple classes? What is this called?No
    Single-class inheritence
  4. 4Is inheritance an "is a" or a "has a" scenario?is a
  5. 5By contrast, "has-a" represents _____composition
  6. 6What is composition?An object contains references to other objects
    e.g. car has a steering wheel
  7. 7Composition In a nutshell...objects or elements which help to COMPOSE details about another class
    has-a relationship
  8. 8Inheritance Advantages- Minimizes duplicate code
    - Easier to maintain
    - Reduces development time
    - Code better organized
    - More robust
    - Flexible to change

Informationen

Beschreibung
Masters Programming I Karteikarten am OOP - Inheritence, erstellt von nhunsdale02 am 06/06/2014.
Erstellt von
nhunsdale02
Aufrufe
20
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck