Java Math sqrt ()方法返回指定數字的平方根。 用法: Math.sqrt(double num). 這裏, sqrt() 是靜態方法。因此,我們使用類名來訪問該方法, Math 。
確定! 回上一頁