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 callable java?
Is arraylist zero based?
What if I write static public void instead of public static void in java?
Explain exception chaining in java?
What is the main method java?
can any body body expalin best definitions & best real time exaples for opps concepts.
Why stringbuffer is faster than string?
Java is pass by value or pass by reference? Explain
How to make object serializable in java?
Difference between operator overloading and function overloading
What is comparable and comparator interface? List their differences
Discuss different types of errors that generally occur while programming.
What is the difference between a factory and abstract factory pattern?
What is super keyword explain with example?
How is treeset implemented in java?