4 lines
72 B
Java
4 lines
72 B
Java
|
|
public static boolean isEven(BigInteger i){
|
||
|
|
return !i.testBit(0);
|
||
|
|
}
|