摘要: 1、如果某个方法为静态的,那么它的行为不具有多态性public class demo5 { public static void main(String[] args) { Father father = new Son(); father.staticMethod(); father.normalMethod(); }}class ... 阅读全文
posted @ 2018-02-01 15:16 夏夜弥光 阅读(225) 评论(0) 推荐(0) 编辑