What is the output of the given java program?
public class HelloWorld
{
public static
void main(String []args)
{
int i = (1048576>>8>>3>>8>>3) + + - + (1024<<8<<3>>8>>3);
switch(i++) // Line 1 { case 1024 : System.out.
println("Hello"); case 1025 : System.out.
println("How r u?"); case 512 : System.out.
println("Bye"); case 513 : System.out.
println("Bye Bye"); default : System.out.
println("Good Bye");
}
}
}
Reveal answer
Fill a bubble to check yourself