πŸ“Š JAVA
Q. What is the output of the Java program with IF statement?
Code:
if(true)
{
   break;
   System.out.println("ELEPHANT");
}
  • (A) No output
  • (B) ELEPHANT
  • (C) Compiler error
  • (D) None
πŸ’¬ Discuss
βœ… Correct Answer: (C) Compiler error

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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