摘要: public class demo06 { public static void main(String[] args) { int money=10_0000_0000; System.out.println(money); int year=20; int total=money*year;// 阅读全文
posted @ 2023-11-30 14:50 涛dream 阅读(25) 评论(0) 推荐(0)
摘要: import com.sun.security.jgss.GSSUtil;public class demo05 { public static void main(String[] args) { int i=130; byte b=(byte) i;//内存溢出 //类型转换 byte(字节), 阅读全文
posted @ 2023-11-30 14:41 涛dream 阅读(8) 评论(0) 推荐(0)
摘要: public class demo2 { public static void main(String[] args) { int a = 10; int a1 = 010;//八进制 int a2 = 0x10;//十六进制 0~9 A~f 16 System.out.println(a1); S 阅读全文
posted @ 2023-11-30 13:47 涛dream 阅读(9) 评论(0) 推荐(0)