Created
July 8, 2019 20:16
-
-
Save gbajaj/dc8c9f8e75e65d592a4811781f5ca541 to your computer and use it in GitHub Desktop.
Java Simple Integer Comparison
This file contains hidden or 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 Main { | |
public static void main(String[] args) { | |
int a = 10; | |
int b = 10; | |
if (a == b) { | |
System.out.println("true"); | |
} else { | |
System.out.println("false"); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment