how to make a number to the power of in java code example Example: raise number to power java Math.pow(number, power);