public static boolean isOdd(int i) {   
    return i % 2 == 1;   
}