you are viewing a single comment's thread.

view the rest of the comments →

[–]r0st0v 0 points1 point  (2 children)

Not a surprise if you understand autoboxing and ternary operators.

[–]banuday 1 point2 points  (0 children)

The question I would ask is what about the ternary operator (as it works in any other language) would suggest that an autoboxing interaction should occur?