Q. What is the output of the Java program?

Code:
int a=10;
if(a==9)
  System.out.println("OK ");
  System.out.println("MASTER");					
else
  System.out.println("BYE");
  • (A) OK MASTER
  • (B) BYE
  • (C) Compiler error
  • (D) None
πŸ’¬ Discuss
βœ… Correct Answer: (C) Compiler error

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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