πŸ“Š JAVA
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));.
πŸ’¬ Discuss
βœ… Correct Answer: (C) System.out.println(Math.ceil(-4.7));.

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
125
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
92%
Success Rate