Using the pow()-method in Java(power) Leave a Comment / java, java programming / By cloud host Use Math.pow(double, double), or statically import pow as such: import static java.lang.Math.pow;