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 the technique adopted to create an immutable class?
what is daemon thread and which method is used to create the daemon thread? : Java thread
What are the differences between forwarding () method and sendredirect() methods?
Can you extend main method in java?
What is meant by polymorphism?
What is the numeric promotion?
Which is better list or arraylist in java?
What is the purpose of declaring a variable as final?
What does n mean in java?
Explain a situation where finally block will not be executed?
How the interruptible method gets implemented?
What is difference between == and === in js?
What is proper subset?
How does a for loop work?
What are the 6 functions?