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 text string?
What does next mean in java?
What is data type in computer?
what is enumset?
What is the main use of generics in java?
What are the Class Libraries ?
What is a module function?
Why deletion in linkedlist is fast than arraylist?
Can we declare a constructor as final?
Why string is not a wrapper class?
How java is similar to c?
what is session in java?
Write a function to find out longest palindrome in a given string?
Can we use synchronized block for primitives?
What is the difference between integer parseint and integer valueof?