When i do the below code, it ask me for casting the value on right side ?
byte myByteTestValue = Byte.MAX_VALUE + 1;
When i do the below code, it didn't ask me for casting the value on right side ?
int myIntTestValue = Integer.MAX_VALUE + 1;
why this is happening, anyone can explain ?