public class MainClass { public static void main(String[] argv) { int i = 0; boolean b = true; if (i & b) { System.out.println("true"); } } }
The operator & is undefined for the argument type(s) int, boolean