黑马程序员技术交流社区

标题: Math类概述 [打印本页]

作者: Echo0912    时间: 2015-9-7 21:43
标题: Math类概述
Math 类包含用于执行基本数学运算的方法,如初等指数、对数、平方根和三角函数。
        * B:成员方法
        * public static int abs(int a)
        * public static double ceil(double a)
        * public static double floor(double a)
        * public static int max(int a,int b) min自学
        * public static double pow(double a,double b)
        * public static double random()
        * public static int round(float a) 参数为double的自学
        * public static double sqrt(double a)




欢迎光临 黑马程序员技术交流社区 (http://bbs.itheima.com/) 黑马程序员IT技术论坛 X3.2