The class Math contains a method pow, which is used to calculate x y in a program. Here is an example of how the pow method is used: result = Math.pow(2, 3);.
確定! 回上一頁