Created
July 8, 2019 20:15
-
-
Save gbajaj/b9917610470d9cb75e66fc65d155cf60 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