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 are loops in java?
What is a for loop in java?
What is ternary operator in java?
Outline the major features of java.
What is the generic function?
What is the intersection and union methods?
What is the purpose of the enableevents() method in java programming?
What type of language is java?
What are mutable classes?
Can we create object of static class?
How are observer and observable used in java programming?
How many types of assembly languages are there?
What is substring in java?
What are thread local variables?
Is 9 a prime number?