Java 101: Java polymorphism and its types

Polymorphism refers to the ability of some entities to occur in different forms. It is popularly represented by the butterfly, which morphs from larva to pupa to imago. Polymorphism also exists in programming languages, as a modeling technique that allows you to create a single interface to various operands, arguments, and objects. Java polymorphism results in code that is more concise and easier to maintain.

While this tutorial focuses on subtype polymorphism, there are several other types you should know about. We’ll start with an overview of all four types of polymorphism.

分類: Android News 安卓新聞, IT 資訊科技(信息技术), 熱門新聞,標籤: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , 。這篇內容的永久連結