1.

What is the output of this program?
public class Result 
{
public static void main(String args[])
{
double num0 = 4.15;
double num1 = 5.16;
double num2 = Math.max( num0, num1 );
System.out.print(num2);
}
}

A. 5
B. 5.1
C. 4.15
D. 4.1
E. 5.16
Answer» F.


Discussion

No Comment Found

Related MCQs