I am aware that if you are assigning int to a byte without any implicit cast, then the int should be a compile time constant.
i.e. the below code compile fines.
But if I try the same thing with long, it fails.
Why is that compile time constant of type int can be assigned to byte without any implicit cast, but we cannot assign compile time long to byte?