类的继承

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.

 

posted @ 2015-03-30 16:58  沿途风景  阅读(95)  评论(0编辑  收藏  举报