Polymorphism, Autoboxing, and Implicit Conversions
Posted
by dbyrne
on Stack Overflow
See other posts from Stack Overflow
or by dbyrne
Published on 2010-05-21T16:17:44Z
Indexed on
2010/05/21
16:20 UTC
Read the original article
Hit count: 374
Would you consider autoboxing in Java to be a form of polymorphism? Put another way, do you think autoboxing extends the polymorphic capabilities of Java?
What about implicit conversions in Scala?
My opinion is that they are both examples of polymorphism. Both features allow values of different data types to be handled in a uniform manner.
My colleague disagrees with me. Who is right?
© Stack Overflow or respective owner