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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are thread priorities and importance of thread priorities in java?

628


How to access arraylist elements in java?

494


Does anyone still use java?

582


Explain what is encapsulation?

608


Difference between process and thread?

607






If a class is declared without any access modifiers, where can the class be accessed?

599


How to find the given number is a prime number or not by getting input from the user

554


What do you mean by pointer value and address?

581


Discuss different types of errors that generally occur while programming.

581


What is ‘has a’’ relationship in java?

726


Can you access the private method from outside the class?

512


What do you understand by an io stream?

587


What is garbage collection? What is the process that is responsible for doing that in java?

659


What is complexity in java?

527


define polymorphism in java

639