what is the output ? Math.floor(-2.1)
a)2
b)-2
c)-3.0
d)0
Answer Posted / blessy carolina
-3.0
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
What is the role of the java.rmi.naming class?
Can you access non static variable in static context?
What is java volatile?
Can we use string in the switch case?
When throws keyword is used?
Can we extend private class in java?
How many types of the indexof method are there for strings?
What is the difference between compile-time polymorphism and runtime polymorphism?
What does %d do in java?
Explain the difference between treeset and treemap in java?
What is the synonym of string?
Explain differences between checked and unchecked exceptions in java?
Do you need to import math in java?
Can a final variable be manipulated in java?
How many JVMs can run on a single machine and what is the meaning of Just-In-Time (JIT) compiler?