Multiple choice technology

By default the instance variable in objective C is

  1. Public

  2. Protected

  3. Private

  4. Default

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

In Objective-C, instance variables default to @protected access, meaning they are accessible within the class and its subclasses. This differs from C++ and Java where the default is typically private. @public would allow external access, @private restricts to the defining class only.