iOS Developer Question:

Download Job Interview Questions and Answers PDF

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

iOS Developer Interview Question
iOS Developer Interview Question

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"?