摘要: public class Demo03 { public static void main(String[] args) { //整数拓展 :进制 二进制0b 十进制 八进制 0 十六进制 0x int i = 10; int i2 = 010;//八进制0 int i3 = 0x11;//十六进制 阅读全文
posted @ 2021-09-12 20:27 山城旧客 阅读(54) 评论(0) 推荐(0)
摘要: public class Demo02 { public static void main(String[] args) { //八大基本数据类型 //整数类型 int num1 = 10;//最常用 byte num2 = 20; short num3 = 30; long num4 = 40L; 阅读全文
posted @ 2021-09-12 20:26 山城旧客 阅读(43) 评论(0) 推荐(0)
摘要: public class Demo01 { public static void main(String[] args) { String Ahello="jiamgmu"; String ahello="jiamgmu"; String $hello="jiamgmu"; String _hell 阅读全文
posted @ 2021-09-12 20:25 山城旧客 阅读(37) 评论(0) 推荐(0)