Created
April 20, 2015 18:58
-
-
Save khatchad/1f53f7012bf19ec74485 to your computer and use it in GitHub Desktop.
Returns true if the given number is even and false otherwise.
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 static boolean isEven(int value) { | |
return value % 2 == 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment