Skip to main content

Komposition und Vererbung

  • Chapter
C++ für C-Programmierer

Part of the book series: Informatik & Praxis ((I&P))

  • 193 Accesses

Zusammenfassung

Mit der Möglichkeit, alle Eigenschaften einer Klasse an eine andere Klasse weiterzugeben (“zu vererben”), bietet C++ wohl die wichtigste Erweiterung gegenüber der Programmiersprache C. Gleichzeitig ist die “Vererbung” (“Inheritance”) eine tragende Säule der objektorientierten Programmierung.

“Leider kann man nicht nur ausgewählte Eigenschaften vererben, aber man muß unerwünschtes Erbgut nicht nutzen, kann es sogar verstecken.”

“Wie im wirklichen Leben.”

“Aber gut ist es in keinem Fall.”

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 54.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 69.95
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

Rights and permissions

Reprints and permissions

Copyright information

© 1998 B.G. Teubner Stuttgart · Leipzig

About this chapter

Cite this chapter

Dankert, J. (1998). Komposition und Vererbung. In: C++ für C-Programmierer. Informatik & Praxis. Vieweg+Teubner Verlag. https://doi.org/10.1007/978-3-322-92730-9_4

Download citation

  • DOI: https://doi.org/10.1007/978-3-322-92730-9_4

  • Publisher Name: Vieweg+Teubner Verlag

  • Print ISBN: 978-3-519-02641-9

  • Online ISBN: 978-3-322-92730-9

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics