摘要: when you new a objectit will call the class constructorif the class is subclass of baseclassit will firstly call the baseclass constructorproblem:the baseclass has no 0 arguments constructorwhensubclass s=new subclass()(subclass extend baseclass)will expose an erroryou must special arguments to the 阅读全文
posted @ 2011-11-30 17:27 残月枯花 阅读(170) 评论(0) 推荐(0)