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
Can we create our own daemon thread?
What is static import?
What are the differences between throw and throws?
Is static a keyword in java?
Difference between overriding and overloading in java?
Is java a security risk?
What is the default value of float and double datatype in java?
What is array pointers ?
What is the purpose of tostring() method in java?
What is an object in java?
What are jee technologies?
why not override thread to make a runnable? : Java thread
Can you explain inner class.
Explain the public class modifier?
Can a lock be acquired on a class in java programming?