When I came across the following example I did not expect the results that the program has printed :) hehe...
Question: What does this program print? Why?
The downside of auto-boxing, I guess? Though perhaps compiler errors shouldn't be needed to tell you what a method signature is (and what the method does).
Comments
jtheory replied ago:
The downside of auto-boxing, I guess? Though perhaps compiler errors shouldn't be needed to tell you what a method signature is (and what the method does).
zynasis replied ago:
this is why i have autoboxing warnings on my ide
Voters For This Link (14)
Voters Against This Link (0)