Q. What is the output of the Java program?
Code:long num = 123L;
if(num > 123)
{
System.out.println("TIGER");
}
else
{
System.out.println("BIRD");
}
β
Correct Answer: (B)
BIRD
long num = 123L;
if(num > 123)
{
System.out.println("TIGER");
}
else
{
System.out.println("BIRD");
}
You must be Logged in to update hint/solution