A
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");
}
if(num > 123)
{
System.out.println("TIGER");
}
else
{
System.out.println("BIRD");
}
- Correct Answer - Option(B)
- Views: 18
- Filed under category Java
- Hashtags:
Discusssion
Login to discuss.