Java Math.sqrt() methodThe java.lang.Math.sqrt() is used to return the square root of a number. SyntaxParameterReturn
Example 1Test it NowOutput: 9.0 Example 2Test it NowOutput: NaN Example 3Test it NowOutput: NaN Example 4Test it NowOutput: Infinity Example 5Test it NowOutput: 0.0 Next TopicJava Math |
We provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India