Home / Programming MCQs / JAVA MCQs / Question

M

Mr. Dubey • 51.17K Points
Coach

Q. Which of the following will output -4.0?

(A) System.out.println(Math.floor(-4.7));.
(B) System.out.println(Math.round(-4.7));.
(C) System.out.println(Math.ceil(-4.7));.
(D) System.out.println(Math.Min(-4.7));.

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.