Q297
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.toDegrees(x); System.out.print(y);
A.
0
B.
179
AnswerC.
180
D.
360
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board