Question from the Objective-C test

Is the following code valid Objective-C? @interface MyClass : NSObject - (void)myMethod; @end @implementation MyClass - (void)myMethod { NSLog(@"Hello, world!"); } @end

Hard

Can an objective-c class inherit from multiple classes?

Author: Smart&SoftStatus: PublishedQuestion passed 13 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!