πŸ“Š JAVA
Q. What is the output of the Java program with IF-ELSE statements?
Code:
if(TRUE)
  System.out.println("GO");
else
  System.out.println("STOP");
  • (A) GO
  • (B) STOP
  • (C) Compiler error
  • (D) None
πŸ’¬ Discuss
βœ… Correct Answer: (C) Compiler error

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
178
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
83%
Success Rate