what is the output ? Math.floor(-2.1)
a)2
b)-2
c)-3.0
d)0
Answer Posted / evelin
-2 is the nearest smallest integer to -2.1
| Is This Answer Correct ? | 2 Yes | 15 No |
Post New Answer View All Answers
What is abstract class constructor called?
State the difference between creating string as new () and literal.
How many bits is a boolean?
What is protected access modifier?
What is == and === in javascript?
What do you mean by inner class in java? Explain
Why to use nested classes in java? (Or) what is the purpose of nested class in java?
Is 0 a prime number?
How does the garbage collector works in java?
What is final method?
When should I use singleton pattern?
Explain about class in java?
What is thread pool in java with example?
How can we avoid including a header more than once?
What do you mean by constructor?