Multiple choice

Which of the following methods defined in Math class is used to return the smallest whole number greater than or equal to the argument specified in it?

  1. abs()

  2. round()

  3. ceil()

  4. floor()

  5. max()

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

This method is used to return the smallest whole number greater than or equal to the argument specified in it.