Java Operators (GATE - CS)

Time: 00:00:00
0
Attempted
15
Not Attempted
0
Marked For Review
0
Attempted & Reviewed

Question 1 of 15

What is the output of the given java code?

public class HelloWorld
{
public static void main(String []args)
{
boolean i=1;
switch(Math.round(Math.hypot(114,123))) // Line 1
{
default : System.out.println("Default Case");
case 128<<6<<3 : System.out.println("Case 1");
case 9072/54 : System.out.println("Case 2");
case 128<<4<<2 : System.out.println("Case 3");
}
}
}

Select Your Answer:

All Questions

Attempted
Not Attempted
Marked for Review
Attempted & Reviewed
Current