What is the output of the given java code?
public class HelloWorld
{
public static void main(String []args)
{
int i;
switch(i) // Line 1
{
default : System.out.println("No Value");
case 0 : System.out.println("i is 0");
case 1 : System.out.println("i is 1");
}
}
}
Reveal answer
Fill a bubble to check yourself