经典面试题
2021-03-30 本文已影响0人
欺魄小妖
下面的代码输出什么 https://www.jianshu.com/p/a8e32de4858f
@implementation Son : Father
- (id)init {
self = [super init];
if (self) {
NSLog(@"%@", NSStringFromClass([self class]));
NSLog(@"%@", NSStringFromClass([super class]));
}
return self;
}
@end