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

What is difference between compatible and incompatible changes in serialization?

1 Answers   Synechron,


What is http client in java?

0 Answers  


How many JVMs can run on a single machine and what is the Just-In-Time(JIT) compiler?

0 Answers   Global Logic,


Tell us something about different types of casting?

0 Answers  


Which way a developer should use for creating thread, i.e. Sub classing thread or implementing runnable.

0 Answers  






How do I convert a string to an int in java?

0 Answers  


Why can't we use static class instead of singleton?

0 Answers  


Is string an object?

0 Answers  


Explain the difference between serializable and externalizable in java?

0 Answers  


What is time complexity java?

0 Answers  


Why there is no call by reference in java?

0 Answers  


Is there any difference between synchronized methods and synchronized statements?

0 Answers  


Categories