R
Q. What is the output of Java program with SWITCH below?
Code:
int a=10;
switch(a)
{
case 10: System.out.println("TEN");
}
switch(a)
{
case 10: System.out.println("TEN");
}
- Correct Answer - Option(B)
- Views: 126
- Filed under category JAVA
Discusssion
Login to discuss.