Math类和字符串连接符"+"
摘要:
幂运算 Math类 public class Demo04 { public static void main(String[] args) { //幂运算 2^3 2*2*2 = 8 double pow = Math.pow(2,3); System.out.println(pow); } } 阅读全文
posted @ 2022-07-04 16:44 邓了个邓 阅读(32) 评论(0) 推荐(0)
浙公网安备 33010602011771号