Vidyalelo
Java Programming · Q35

Constructors and Methods

Programming · Java Programming · question 35

Q35

What is Math.floor(3.6)?

A.
3.0
Answer
B.
3
C.
4
D.
4.0

Answer: Option A

Solution

Answer: Option A
Solution:

The method floor gives the largest integer that is less than or equal to the argument.