**Practice these Java.lang – Rounding Functions under Java Programming walk-in interview Questions/ examination questions with best tricks and short cuts with solution. Student (candidate) who want to crack the walk in interview, competitive exams and want to find short cuts and tricks to solve questions on Java.lang – Rounding Functions for following purpose.**

– Anyone who is wishing to increase their perfect knowledge of Java.lang – Rounding Functions of Java Programming.

– Anyone who is preparing for aptitude test and increase his in depth aptitude knowledge Java Programming specifically Java.lang – Rounding Functions.

– Anyone who is preparing for interviews (competitive examinations, govt examinations and bank examinations, off-campus or on campus interviews, walk-in interview and company interviews) having questions on Java.lang – Rounding Functions under Java Programming.

– Anyone who is preparing for aptitude test or competitive exam or entrance exam.

– Anyone who is preparing for entrance examinations and other competitive examinations.

– All Experienced, Freshers and Students.

**Here is list of Questions and Answers covering all key area of Java.lang – Rounding Functions topic of Java Programming:**

1. Which of these class contains only floating point functions?

**Answer:** Option
A

**Explanation:**

Math class contains all the floating point functions that are used for geometry, trigonometry, as well as several general purpose methods. Example : sin(), cos(), exp(), sqrt() etc.

2. Which of function return absolute value of a variable?

**Answer:** Option
A

**Explanation:**

abs() returns the absolute value of a variable.

3. Which of these class provides various types of rounding functions?

4. Which of these method return a largest whole number less than or equal to variable X?

**Answer:** Option
B

**Explanation:**

double floor(double X) returns a largest whole number less than or equal to variable X.

5. Which of these method is a rounding function of Math class?

**Answer:** Option
D

**Explanation:**

rint() rounds up a variable to nearest integer.