Skip to content

Instantly share code, notes, and snippets.

@ilyaBrandon
Created February 23, 2016 18:29
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ilyaBrandon/dee555adb12e70ad9c23 to your computer and use it in GitHub Desktop.
Save ilyaBrandon/dee555adb12e70ad9c23 to your computer and use it in GitHub Desktop.
public class BATTLEFRONT {
public static void main(String[] args) {
int age = 21;
System.out.println(oldEnough(age));
}
static boolean oldEnough(int age) {
boolean resApproved = age >= 21;
return resApproved;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment