What will be the output of the following program?
public class Operation {
public static void main(String[] args) {
int num1 = 0;
int num2 = 0;
for (int i = 0; i < 5; i++) {
if ((++num1 > 2) && (++num2 > 2)) {
num1++;
}
}
System.out.println(num1 + " and " + num2);
System.out.println(num2 | 12);
}
}