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");
β
Correct Answer: (C)
Compiler error
int a=10;
if(a==9)
System.out.println("OK ");
System.out.println("MASTER");
else
System.out.println("BYE");
You must be Logged in to update hint/solution