iOS Developer Question:
Download Questions PDF

Explain "private", "Protected" and "Public"?

Answer:

☛ private - limits the scope class variable to the class that declares it.
☛ protected - Limits instance variable scope to declaring and inheriting classes.
☛ public - Removes restrictions on the scope of instance variables

Download iOS Developer Interview Questions And Answers PDF

Previous QuestionNext Question
What is meaning of "nonatomic" keyword?What is "Push Notification"?