08 2020 档案

摘要:模板方法模式 阅读全文
posted @ 2020-08-09 09:54 fridays 阅读(42) 评论(0) 推荐(0)
摘要:父类引用指向子类对象时候的一些注意点 首先看一段代码: public class Father { static int b=7; int a=5; public void say(){ System.out.println("父亲say"); } public void write(){ Syst 阅读全文
posted @ 2020-08-09 09:44 fridays 阅读(184) 评论(0) 推荐(0)
摘要:### 阅读全文
posted @ 2020-08-07 22:04 fridays 阅读(49) 评论(0) 推荐(0)
摘要:Map不是Collection的子接口,而list和set均是Collection的子接口 阅读全文
posted @ 2020-08-04 23:12 fridays 阅读(144) 评论(0) 推荐(0)