Link Details

Link 121740 thumbnail
User 111696 avatar

By bloid
via javabeans.asia
Published: Oct 01 2008 / 21:43

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?
  • 14
  • 0
  • 1382
  • 507

Comments

Add your comment
User 210175 avatar

jtheory replied ago:

0 votes Vote down Vote up Reply

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).

User 211643 avatar

zynasis replied ago:

0 votes Vote down Vote up Reply

this is why i have autoboxing warnings on my ide

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.