java 多态

啥是多态:

Person 是superclass,Man是Subclass

可以这么用:

Person aPerson = new Man();

posted @ 2015-07-26 22:32  杨小雄  阅读(222)  评论(0)    收藏  举报