Mahesh Murugaiyan wrote:
- I read that all numerical literals are int by default. so in the first example, the int 200 is narrowed down to short and then boxed into Short. (is it also because 200 can fit in short easily?)
Correct. This is defined in section 5.2 of the Java Language Specification....