Skip to main content
  • 1790 Accesses

Auszug

Der aus dem Griechischen stammende Begriff Polymorphie bedeutet Vielgestaltigkeit. Im Kontext objektorientierter Programmierung wird dadurch ausgedrückt, dass ein und dieselbe Codingstrecke (z.B. Methode) mit Objekten verschiedener Klassen arbeiten kann — und dabei unterschiedliches — vielgestaltiges — Verhalten zeigt. Polymorphie ist ein anspruchsvolles und in der aktuellen Softwaretechnik auch durchaus kontrovers diskutiertes Thema. Wir führen Polymorphie auf Basis der Klassenvererbung ein, beleuchten aber auch ihre oft vorteilhaftere Realisation mittels Interfaces.

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 34.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

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.

Rights and permissions

Reprints and permissions

Copyright information

© 2007 Friedr. Vieweg & Sohn Verlag | GWV Fachverlage GmbH, Wiesbaden

About this chapter

Cite this chapter

(2007). Polymorphie. In: Java-Grundkurs für Wirtschaftsinformatiker. Vieweg. https://doi.org/10.1007/978-3-8348-9129-7_14

Download citation

Publish with us

Policies and ethics