Which Math method is used to calculate the absolute value of
a number?

Answers were Sorted based on User's Feedback



Which Math method is used to calculate the absolute value of a number?..

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

Which Math method is used to calculate the absolute value of a number?..

Answer / sitaram

The abs() method is used to calculate absolute values.

Is This Answer Correct ?    8 Yes 1 No

Which Math method is used to calculate the absolute value of a number?..

Answer / ravikiran

abs()

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More Core Java Interview Questions

How many methods does cloneable interface contains?

6 Answers  


Can we use return in constructor?

0 Answers  


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.

2 Answers  


What is a void in java?

0 Answers  


What does system out println () do?

0 Answers  






What is meant by class?

0 Answers  


What is the purpose of finalization?

4 Answers  


I have multiple constructors defined in a class. Is it possible to call a constructor from another constructor’s body?

0 Answers  


What is difference between compatible and incompatible changes in serialization?

1 Answers   Synechron,


What is remote method invocation (rmi)?

0 Answers  


What is classes in java?

0 Answers  


Explain the importance of finalize() method.

0 Answers  


Categories