MCQs>IT & Programming>Core Java>public class Test{ public static void main(String [] arg){ int x=10; if(x++ > 10 && x++ == 12){ ++x; } System.out.println(x); } } What is the Output of this code?
Core Java MCQs
public class Test{ public static void main(String [] arg){ int x=10; if(x++ > 10 && x++ == 12){ ++x; } System.out.println(x); } } What is the Output of this code?
Answer
Correct Answer: 11
Explanation:
Note: This Question is unanswered, help us to find answer for this one