KnowledgeBoat Logo

Computer Applications

Explain the following Math functions in Java:

Math.abs()

Java Math Lib Methods

43 Likes

Answer

Returns the absolute value of its argument. Its return type is same as the type of its arguments. For example, Math.abs(-5) will return 5.

Answered By

29 Likes


Related Questions