2018年10月14日

摘要: 进行预习完成重载类的。package lol; public class lol { int length; test() { System.out.println("无参构造函数"); length = 400; } test(int i) {//带参构造函数 System.out.println("绿道长度为 " + i... 阅读全文

posted @ 2018-10-14 18:26 咳咳你 阅读(146) 评论(0) 推荐(0)

摘要: import java.util.Scanner; public class number { public static void main(String[] args) { int i = 0; System.out.println("1.3-100 2.任意两数 3.最大十个和最小十个"); Scanner s... 阅读全文

posted @ 2018-10-14 18:18 咳咳你 阅读(143) 评论(0) 推荐(0)

摘要: package huiwen; import java.util.Scanner; public class Huiwen { public static void main(String[] args) { String s; int w; int q = 0; Scanner input = new Scanner(System.in); System... 阅读全文

posted @ 2018-10-14 18:18 咳咳你 阅读(111) 评论(0) 推荐(0)