随笔分类 -  Java

摘要:Math.sqrt()//计算平方根Math.cbrt()//计算立方根Math.hypot(x,y)//计算 (x的平方+y的平方)的平方根Math.pow(a,b)//计算a的b次方Math.exp(x)//计算e^x的值Math.max();//计算最大值Math.min();//计算最小值M 阅读全文
posted @ 2019-03-19 02:01 RoyStayHungry 阅读(283) 评论(0) 推荐(0)
摘要:public class StringToUpperCase { public static void main(String[] args) { String s = "Hello World"; System.out.println(s); System.out.println(s.toUppe 阅读全文
posted @ 2019-03-16 16:15 RoyStayHungry 阅读(4395) 评论(0) 推荐(0)