What is the output of following code
Class switch
{
Public static void main (String [ ] agrs)
{
Int i=2;
Switch (i)
{
case 1:
{
System.out.println ("case 1");
}
break;
Case 2:
{
System.out.println ("case 2");
}
break;
Case 3:
{
System.out.println ("case 3");
}
}
}

Posted on by