2019 | OriginalPaper | Buchkapitel
2. Polymorphism
Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.
Wählen Sie Textabschnitte aus um mit Künstlicher Intelligenz passenden Patente zu finden. powered by
Markieren Sie Textabschnitte, um KI-gestützt weitere passende Inhalte zu finden. powered by
Abstract
HashMap
and TreeMap
are distinct implementations of the concept of a "map," and both support the methods get
, put
, keySet
, and so on. The ability of a program to take advantage of this commonality is known as polymorphism. Polymorphism is arguably the most important design concept in object-oriented programming. This chapter explores Java interfaces and how they are used to support polymorphism.