KnowledgeBoat Logo
LoginJOIN NOW

Computer Applications

Explain the following Math functions in Java:

Math.abs()

Java Math Lib Methods

52 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

36 Likes


Related Questions