摘要: 1、“覆盖”私有方法 class Super{ public void fun(){ System.out.println("Super"); } public static void main(String[] args){ Super sup = new Sub(); sup.fun(); } 阅读全文
posted @ 2018-01-12 15:26 xxbbtt 阅读(205) 评论(0) 推荐(0)