Q. What is the output of the Java program below?
Code:int b=20;
switch(b)
{
default: System.out.println("LION");
}
β
Correct Answer: (B)
LION
int b=20;
switch(b)
{
default: System.out.println("LION");
}
You must be Logged in to update hint/solution