Skip to main content

Effizient erben

  • Chapter
  • First Online:
Book cover Objektorientierte Programmierung mit JavaScript
  • 24k Accesses

Zusammenfassung

Im letzten Kapitel haben wir zwei Techniken kennen gelernt, wie Methoden einer Klasse an eine Unterklasse vererbt werden können: Universell und flexibel, aber höchst schwerfällig ist das Verfahren der Delegation. Wird dagegen nur der Aufruf des Konstruktors delegiert, werden alle Methoden – und gegebenenfalls auch Attribute – automatisch vererbt.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 19.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 29.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Jörg Bewersdorff .

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Springer Fachmedien Wiesbaden GmbH

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Bewersdorff, J. (2018). Effizient erben. In: Objektorientierte Programmierung mit JavaScript. Springer Vieweg, Wiesbaden. https://doi.org/10.1007/978-3-658-21077-9_19

Download citation

Publish with us

Policies and ethics