State the output of the following:
[2]
If the value of op is (i) 2 (ii) 1 (iii) 6
switch(op)
{
case 1:
System.out.println(“One”);
case 2:
System.out.println(“Two”);
break;
case 3:
System.out.println(“Three”);
break;
default :
System.out.println(“None”);
}
Answers
Answered by
0
Answer:
case 3ggdbSChshsbe
ahksad
Similar questions