Q. What is the output of Java program with IF statement?
if(1)
{
System.out.println("OK");
}
if(1)
{
System.out.println("OK");
}
β
Correct Answer: (C)
Compiler error
You must be Logged in to update hint/solution