Computer Applications

The Math method which returns int value is:

  1. round()
  2. cbrt()
  3. ceil()
  4. random()

Java Math Lib Methods

9 Likes

Answer

round()

Reason — The round() method returns an int. Other methods like cbrt() and ceil() return double, while random() returns a double value between 0.0 and 1.0.

Answered By

4 Likes


Related Questions