Question: what is square root java?
Answer: Description. The java.lang.Math.sqrt(double a) returns the correctly rounded positive square root of a double value. Special cases − If the argument is NaN or less than zero, then the result is NaN. If the argument is positive infinity, then the result is positive infinity.