摘要:
1.测试 测试 public class JiSuanQi { public int add(int a,int b){ return a + b; } public int jian(int a,int b){ return a - b; } public int cheng(int a,int 阅读全文
摘要:
4.面向对象的编程_抽象和多态 抽象 public class Practice { public static void main(String[] args) { Student.say(); } } public abstract class Student { /* abstract : 表 阅读全文
摘要:
1.映射 HashMap public static void main(String[] args) { /* 嵌套类/内置类/内部类/内部接口 K : key V : value E : element R : ReturnType T : type Map<K, V> : 存储的是键值对。每个 阅读全文
摘要:
1.Collections常用工具 Collections常用工具 public static void main(String[] args) { List<String> list = new ArrayList<>(); list.add("ddd"); list.add("aaa"); li 阅读全文