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 is keyword in oop?

510


Difference between final and effectively final ? Why is effectively final even required ?

548


What is the char data type?

513


what are Hostile Applets?

1598


What is the difference between procedural and object-oriented programs?

520






Which method returns the length of a string?

562


Why should I use abstract class?

560


In the below example, what will be the output?

588


what is a thread pool in java and why is it used?

525


Which class cannot be a subclass in java?

536


What is byte data type?

544


What is parameter example?

537


What are the basic concepts of OOPS in java?

564


What are the advantages of defining packages in java?

502


what is mena by object block any what is the use of that

1766