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 the advantages of java inner classes?

644


What is the difference between method overriding and overloading?

670


What does this () mean in constructor chaining concept?

674


What is meant by JVM? Is JVM platform independent or not?

679


What is string in java?

641






What steps are taken when the OS shifts from one-thread execution to another?

1001


Java.util.regex consists of which classes?

630


What is the use of accept () method in java?

698


What is a jagged array in java?

646


Can You Have Virtual Functions In Java?

706


Is null a value?

673


What is command line argument

812


What is difference between an object and a class?

698


If a variable is declared as private, where may the variable be accessed?

646


Is it necessary for the port addresses to be unique? Explain with reason.

670