摘要: public class Demo05 { public static void main(String[] args) { int money = 10_0000_0000; System.out.println(money); int years = 20; int total = money* 阅读全文
posted @ 2021-09-15 19:02 山城旧客 阅读(26) 评论(0) 推荐(0)
摘要: public class Demo04 { public static void main(String[] args) { int i = 128 ; byte d = (byte) i;//内存溢出 //强制转换 (类型)变量名 由高到低 //自动转换 由低到高 System.out.print 阅读全文
posted @ 2021-09-15 19:01 山城旧客 阅读(34) 评论(0) 推荐(0)