MCQs>IT & Programming>Java>Output of following Java code: int someVariable = 10_000; int someAnotherVar = 10000; if(someVariable == 10000){ System.out.println('equal'); } else{ System.out.println('not equal'); }
Java MCQs
What will be the output of following Java code: int someVariable = 10_000; int someAnotherVar = 10000; if(someVariable == 10000){ System.out.println("equal"); } else{ System.out.println("not equal"); }
Answer
Correct Answer: Runs successfully and prints
Explanation:
Note: This Question is unanswered, help us to find answer for this one