프로그래밍/java
OverFolow의 발생
이불이!
2018. 10. 22. 12:08
728x90
overflow 발생
public class SizeOverflow {
public static void main(String[] args) {
byte val = 0;
for(int i=0; i<300; i++) {
val++; System.out.println(val);
}
}