ICSE Class 10 Computer Applications
Question 3 of 30
Solved 2024 Question Paper ICSE Class 10 Computer Applications — Question 8
Back to all questions11.0
Reason — The method Math.ceil(double value) in Java rounds up a decimal number to the next highest integer, regardless of the fractional part.
Breakdown of the Expression:
Math.ceil(5.4):
5.4 is rounded up to 6.0.Math.ceil(4.5):
4.5 is rounded up to 5.0.
Adding the Results:
6.0 + 5.0 = 11.0