Objective-C Test
A class can conform to only one protocol.
Can an exception caught in @catch be re-thrown?
How do you allocate an object?
How do you throw an exception?
In which version of Objective-C did the fast enumeration system appear?
In which version of Objective-C did the properties system appear?
Is the following code a correct allocation? MyClass myObj; [&myObj aMessage];
What can you use to avoid the msgSend function overhead?
What class specifiers are supported?
What comments are supported in Obj-C?
What does Obj-C not support?
What does the following imply? Worker *ceo = [[Worker alloc] init]; ceo->boss = nil;
What is a @finally block?
What is a category?
What is a protocol?
What is an autoreleased object?
What is an IMP?
What is nil?
What is not supported in Obj-C?
What is the default visibility for instance variables?
What is the id type?
What is the isa variable in objects?
What is true regarding @protected?
What is true regarding @public?
What type of variable do you need to use to implement singletons?
What will be the output of the following code? static int a (void) { printf ("a "); return 0; } static int b (void) { printf ("b "); return 1; } static int c (void) { printf ("...
When using the garbage collector, which method, that is normally called without the collector, is not called on your objects where they are collected?
Which of the following creates a class that conforms to a protocol?
Which of the following declares a protocol?
Which of the following is false?