Created
February 23, 2016 18:29
-
-
Save ilyaBrandon/dee555adb12e70ad9c23 to your computer and use it in GitHub Desktop.
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 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