摘要:
1. 多态 父类的指针指向子类的对象 @interface Animal: NSObject - (void)eat; @end @implation Dog : Animal - (void)eat{ // 实现父类里面的方法 NSLog (@"。。。"); } - (void)shoumen{ 阅读全文
posted @ 2015-06-15 23:39
土土木
阅读(257)
评论(0)
推荐(0)
浙公网安备 33010602011771号