iOS Developer Question:
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
☛ protected - Limits instance variable scope to declaring and inheriting classes.
☛ public - Removes restrictions on the scope of instance variables
Previous Question | Next Question |
What is meaning of "nonatomic" keyword? | What is "Push Notification"? |