Vidyalelo
Java Programming · Q87

Interfaces and Abstract Classes

Programming · Java Programming · question 87

Q87

What will be the output of the following Java program? class Output public static void main(String args[]) double x = 3.14; int y = (int) Math.toRadians(x); System.out.print(y);

A.
0
Answer
B.
3
C.
3.0
D.
3.1

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board