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 a function argument in java?
What is annotation in java?
What is meant by design patterns?
What are java threads?
What is the difference between && and & in java?
What is the meaning of immutable regarding string?
Why does it take so much time to access an applet having swing components the first time?
Can a lock be acquired on a class in java programming?
What is the difference between serializable and externalizable interfaces?
What is the use of a conditional inclusion statement in Java ?
What is field name?
how are methods defined?
What is the method to expand and collapse nodes in a jtree?
Does java isempty check for null?
What are the important features of Java 9 release?