A

Admin • 832.27K 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));.
  • Correct Answer - Option(C)
  • Views: 16
  • Filed under category Java
  • Hashtags:

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.

Be the first to start discuss.