Skip to content

Instantly share code, notes, and snippets.

@madhephaestus
Forked from christmoore/exampleif.groovy
Created February 8, 2016 05:37
Show Gist options
  • Save madhephaestus/368d2e878c6721166818 to your computer and use it in GitHub Desktop.
Save madhephaestus/368d2e878c6721166818 to your computer and use it in GitHub Desktop.
int i = 1;
if (i < 2)
{
System.out.println("This is an if statement that works");
}
i = 4;
if (i < 2)
{
System.out.println("This is an if statement that doesn't work");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment