Which Math method is used to calculate the absolute value of
a number?
Answers were Sorted based on User's Feedback
Answer / devarathnam c,kotagudibanda(po
Hi...
You can use Math.abs(); method .This is static method
defined in the Math class.
Is This Answer Correct ? | 16 Yes | 1 No |
Answer / sitaram
The abs() method is used to calculate absolute values.
Is This Answer Correct ? | 8 Yes | 1 No |
How many methods does cloneable interface contains?
Can we use return in constructor?
We have two methods to create methods the threads. 1. Implementing runnable interface 2. Extending to thread class and overriding run method. Among these two which one is better and why? Please explain me in detail.
What is a void in java?
What does system out println () do?
What is meant by class?
What is the purpose of finalization?
I have multiple constructors defined in a class. Is it possible to call a constructor from another constructor’s body?
What is difference between compatible and incompatible changes in serialization?
What is remote method invocation (rmi)?
What is classes in java?
Explain the importance of finalize() method.