Originally posted by James Tharakan:
the original post and the reply to the post got a doubt to me that is
Byte bb= 12;
In the above statement is literal 12 considered as int literal or byte literal
All integral literals are of type int, unless you put an l or L at the end, and then the type is long. It just happens that in this case there is an implicit conversion going on. Punit talked about this in a recent post.
To make things more confusing: