MCQs>IT & Programming>Core Java>What is the output of the below code ? int a = 0; int b = 0; if (a++ == 1 || b++ == 1) {} System.out.println(a + " " + b);
Core Java MCQs
What is the output of the below code ? int a = 0; int b = 0; if (a++ == 1 || b++ == 1) {} System.out.println(a + " " + b);
Answer
Correct Answer: 1 1
Explanation:
Note: This Question is unanswered, help us to find answer for this one