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


Please Help Members By Posting Answers For Below Questions

What is callable java?

548


Is arraylist zero based?

547


What if I write static public void instead of public static void in java?

572


Explain exception chaining in java?

599


What is the main method java?

526






can any body body expalin best definitions & best real time exaples for opps concepts.

1831


Why stringbuffer is faster than string?

529


Java is pass by value or pass by reference? Explain

528


How to make object serializable in java?

540


Difference between operator overloading and function overloading

601


What is comparable and comparator interface? List their differences

575


Discuss different types of errors that generally occur while programming.

571


What is the difference between a factory and abstract factory pattern?

681


What is super keyword explain with example?

525


How is treeset implemented in java?

484