MCQs > IT & Programming > Java > Output of the given program? public class Test122 { public static void main(String[] args) { int i = 0; i = i++; i = ++i; i = i++; System.out.println(i); } }

Java MCQs

What is the output of the given program? public class Test122 { public static void main(String[] args) { int i = 0; i = i++; i = ++i; i = i++; System.out.println(i); } }

Answer

Correct Answer: 1

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Java Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Java Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it