predict the output = system.out.println(Math.ceil(8.5));
Answers
Answered by
1
Answer:
the output will be an indentation error
Answered by
2
Answer:
Because ceil() is a static method of Math, you always use it as Math.ceil(), rather than as a method of a Math object you created (Math is not a constructor).
Similar questions