MCQs > IT & Programming > Java > Output of the following line? System.out.println(Math.floor(-2.1));

Java MCQs

What will be the output of the following line?

System.out.println(Math.floor(-2.1));

Answer

Correct Answer: -3.0

Explanation:

Note: This question has more than 1 correct answers

Note: This Question is unanswered, help us to find answer for this one

Java Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Java Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it