摘要:
package Struct; public class ShunxuDemo { //顺序结构 public static void main(String[] args) { System.out.println("hello1"); System.out.println("hello2"); 阅读全文
摘要:
package Struct; import java.util.Scanner; public class IfDemo3 { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); /* 阅读全文
摘要:
package Struct; import java.util.Scanner; public class IfDemo1 { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); Sy 阅读全文
摘要:
package Struct; import java.util.Scanner; public class IfDemo2 { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); // 阅读全文
摘要:
package li; import java.util.Scanner; public class Demo5 { public static void main(String[] args) { //输入多个数据,求和与平均数,输入一个数字回车确认,通过输入非数字结束并输出结果 Scanner 阅读全文
摘要:
package li; import java.util.Scanner; public class Demo4 { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int i = 阅读全文
摘要:
package li; import java.util.Scanner; public class Demo3 { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); System.o 阅读全文
摘要:
package li; import java.util.Scanner; public class Demo2 { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); System.o 阅读全文
摘要:
package li; import java.util.Scanner; public class Demo1 { public static void main(String[] args) { //创建一个扫描器对象,用于接收键盘数据 Scanner scanner = new Scanner 阅读全文