posted 18 years ago
I got the answer to why following compiles
final int b = 3;
Byte y = b;
Since b is compile time constant. If I remove final, it fails compilation too.
So it means, compiler is not supporting implicit casting in case of AutoBoxing. Is it correct?