Computer Science, asked by tushnamaitty, 3 months ago

Math floor (6)
wat will be the answer in Java for this 5 or 7 or 6​

Answers

Answered by BrainlyProgrammer
1

Answer:

The correct answer is 6.0

Explanation:

The number is itself integer so the correct answer is 6.0

Note:-

  • Math.floor() always returns the output in double data type.
Similar questions