摘要: 【1】java.lang.Math类提供了通用的数学函数方法例如: Math.sqrt( 900.0 )可得到900的平方根Demo: TestMath.java 截图: 【2】: 【3】: 使用Math.random()生成随机数 ( int ) ( Math.random() * 6 ) 产 阅读全文
posted @ 2017-10-14 00:46 DaisyYuan 阅读(128) 评论(0) 推荐(0)