随笔分类 - 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
阅读全文
摘要:public class StringToUpperCase { public static void main(String[] args) { String s = "Hello World"; System.out.println(s); System.out.println(s.toUppe
阅读全文

浙公网安备 33010602011771号