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


Please Help Members By Posting Answers For Below Questions

What is the difference between abstract class and interface1? What is an interface?

724


What are methods in java?

675


What causes memory leaks in java?

619


Can we sort arraylist in java?

731


What is array command?

721






What is the exact difference in between unicast and multicast object? Where we will use?

715


What do you understand by the term singleton?

727


What is static import?

763


why we use merge option in hybernate pls give a ex snippet

1638


What is casting in java programming?

727


Can you run java program without main method?

701


What is a boolean expression in java?

687


What is identifier give example?

742


What is the difference between interface & abstract class?

731


What is the use of runnable interface?

775