摘要: package com.Leo.struct;import java.util.Scanner;public class IfDemo02 { public static void main(String[] args) { Scanner scanner = new Scanner(System. 阅读全文
posted @ 2021-06-08 22:28 Leoyuan 阅读(30) 评论(0) 推荐(0) 编辑
摘要: package com.Leo.struct;//顺序结构public class Demo01 { public static void main(String[] args) { System.out.println("hello1"); System.out.println("hello2") 阅读全文
posted @ 2021-06-08 21:40 Leoyuan 阅读(19) 评论(0) 推荐(0) 编辑
摘要: package com.Leo.scanner;import java.util.Scanner;public class Demo04 { public static void main(String[] args) { Scanner scanner = new Scanner(System.i 阅读全文
posted @ 2021-06-08 14:17 Leoyuan 阅读(35) 评论(0) 推荐(0) 编辑
摘要: package com.Leo.scanner;import java.util.Scanner;public class Demo01 { public static void main(String[] args) { //创建一个扫描对象,用于接受键盘数据 Scanner scanner = 阅读全文
posted @ 2021-06-08 13:35 Leoyuan 阅读(28) 评论(0) 推荐(0) 编辑