@interface Foo @end @interface Bar : Foo @end @implementation Foo +(void) zot { printf("[Foo +zot]\n"); } @end @implementation Bar +(void) zot { printf("[Bar +zot]\n"); [super zot]; } @end int main() { [Bar zot]; return 0; }