* static double ceil(double d) method of Math class.
* It returns a smallest integer which is not less than the argument value.
Try one of the many quizzes. More than Java 400 questions with detailed answers.