A
Q. What is the output of Java program below?
Code:
float temp = 98.4f;
if(temp > 98.4)
{
System.out.println("SUMMER");
}
else
{
System.out.println("UNKNOWN");
}
if(temp > 98.4)
{
System.out.println("SUMMER");
}
else
{
System.out.println("UNKNOWN");
}
- Correct Answer - Option(A)
- Views: 13
- Filed under category Java
- Hashtags:
Discusssion
Login to discuss.