posted 14 years ago
Here, the authors say that there will be a compiler error, because if the compiler tries to box byte to a Byte, then the Byte variable cannot be widened to a Long. That is perfectly understandable - boxing and widening cannot occur here. But why doesn't the byte get widened to a long and the widened long then get boxed to a Long? In other words, why can't widening and boxing occur?
I do hope my question is clear.