The Math method which returns int value is:

ICSE Class 10 Computer Applications PYQ · 2025 Improvement · Section A

1(iv)1 Mark · 2025 · Section A · 2025 Improvement

The Math method which returns int value is:

Show SolutionHide Solution↓

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.

← Previous questionNext question →

Browse the free Computer Applications sample bank