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

Which command from the jdk compiles a java program?

477


What is immutable data?

573


In which order the iterator iterates over collection?

573


How to perform bubble sort in java?

582


What are advantages of using Java?s layout managers than windowing systems?

1851






What is a prefix function.write down a code to compute prefix function.

530


What comes to mind when someone mentions a shallow copy in java?

645


Explain where variables are created in memory?

575


What is proper subset?

528


How do I get a substring?

520


What is difference between static class and normal class?

525


What are the actions that can occur when a thread enters blocked state?

573


What is a container in a gui?

535


What is an object’s lock and which object’s have locks?

502


What is the difference between instanceof and isinstance?

555