what is the output ? Math.floor(-2.1)
a)2
b)-2
c)-3.0
d)0
Answer Posted / sasirekha
answer is -3.0
| Is This Answer Correct ? | 18 Yes | 2 No |
Post New Answer View All Answers
What is a constructor, constructor overloading in java?
How is final different from finally and finalize?
What is the latest version of java?
How can you add and remove nodes in jtree?
Explain constructors and types of constructors in java.
What is append in java?
If I don't provide any arguments on the command line, then what will the value stored in the string array passed into the main() method, empty or null?
What is the purpose of final keyword and when to use it?
What is the difference between a switch statement and an if statement?
What is the difference between yield() and sleep()?
Can we override constructors?
Are registers volatile?
What is an i/o filter?
What is difference between public static and void?
What is the main functionality of the remote reference layer?