开发者

Parametric Polymorphism in java

开发者 https://www.devze.com 2023-01-07 04:43 出处:网络
What is parametric polymorphism in jav开发者_运维知识库aFor a good introductory description of parametric polymorphism, refer to this Wikipedia page.

What is parametric polymorphism in jav开发者_运维知识库a


For a good introductory description of parametric polymorphism, refer to this Wikipedia page.

In Java, generics are a form of parametric polymorphism.


Sometimes, overloading is also reffered as parametric polymorphism as far as you would have methods with the same name but with different parameters. Usually those methods have the same purpose so you have different (polymorph) ways of calling the same name.

0

精彩评论

暂无评论...
验证码 换一张
取 消