how do you use the math squaroot method in java code example Example: math sqrt java import java.lang.Math; double x = Math.sqrt(9);