Write a method that returns true when the number it is given is even, and false when it is odd. Zero is even, and negative numbers count too.
boolean isEven(int n)
Examples
There are also 4 hidden tests you can't see. Solve the problem, not the examples.