public class AndOperator {
    public static void main(String[] arg) {
        int value = 8;
        int count = 10;
        int limit = 11;
        if (++value % 2 == 0 && ++count < limit) {
            System.out.println("here");
            System.out.println(value);
            System.out.println(count);
        } else{
            System.out.println("there");
            System.out.println(value);
            System.out.println(count);
        }
    }
}
i am getting output as
there
9
10
explain how count is 10....?
 
     
     
     
     
     
    