Created
August 24, 2018 02:57
-
-
Save ohiofi/bdb19f789a185a70f39f91a126299996 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class byteOverflow { | |
public static void main(String[] args) { | |
//System.out.println(Byte.MAX_VALUE); | |
//System.out.println(Byte.MIN_VALUE); | |
byte foo = 127; | |
foo++; | |
System.out.println(foo); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment