Why is "int i = 2147483647 + 1;" OK, but "byte b = 127 + 1;" is not compilable?

Viewed 7607

Why is int i = 2147483647 + 1; OK, but byte b = 127 + 1; is not compilable?

4 Answers
Related