摘要:
public class Demo01 { public static void main(String[] args) { String 王者荣耀 = "百星王者"; System.out.println(王者荣耀); //大小写十分敏感 String Man = "qingjiang"; Str 阅读全文
posted @ 2021-10-24 19:27
哇喔∽
阅读(35)
评论(0)
推荐(0)
摘要:
public class Demo03 { public static void main(String[] args) { //整数拓展 进制 二进制0b 十进制 八进制0 十六进制0x int i = 10; int i2 = 010; //八进制0 int i3 = 0x10; //十六进制0 阅读全文
posted @ 2021-10-24 19:20
哇喔∽
阅读(27)
评论(0)
推荐(0)
摘要:
public class Demo02 { public static void main(String[] args) { //八大基本数据类型 //整数 int num1 = 10; byte num2 = 20; short num3 = 20; long num4 = 30L; //Long 阅读全文
posted @ 2021-10-24 19:20
哇喔∽
阅读(29)
评论(0)
推荐(0)
摘要:
public class HelloWorld { public static void main(String[] args) { //单行注释 //输出一个Hello,World! String teacher ="秦疆"; System.out.println("Hello,World!"); 阅读全文
posted @ 2021-10-24 19:19
哇喔∽
阅读(18)
评论(0)
推荐(0)

浙公网安备 33010602011771号