Q. What is the output of Java program with SWITCH below?
Code:
int a=10;
switch(a)
{
case 10: System.out.println("TEN");
}
β
Correct Answer: (B)
TEN
int a=10;
switch(a)
{
case 10: System.out.println("TEN");
}
You must be Logged in to update hint/solution