1.

What is the output of this program?
public class Result
{
public static void main(String args[])
{
double num =3.14;
int p = (int) Math.toRadians(num);
System.out.print(p);
}
}

A. 0
B. 1
C. 3.14
D. 3
E. None of these
Answer» B. 1


Discussion

No Comment Found

Related MCQs