码迷,mamicode.com
首页 > 其他好文 > 详细

类的继承

时间:2015-03-30 18:27:31      阅读:125      评论:0      收藏:0      [点我收藏+]

标签:

1. Use override to indicate that it does want to override of the base method in the parent class. If the derived class don‘t use the override, we can‘t use the

polymorphism.Use new  to indicate that it is not an override of the base method in parent class.

技术分享

技术分享技术分享

技术分享

 

类的继承

标签:

原文地址:http://www.cnblogs.com/experience/p/4378536.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!