iOS Developer Question:
Download Questions PDF

Explain the difference between Inheritance and Category?

Answer:

Category enables to add methods only. It does not allow the inclusion of Data Members unlike Inheritance where both the Data and Methods can be added. Category includes Complete Application in its Scope whereas Inheritance’s scope is only within that particular File.

Download iOS Developer Interview Questions And Answers PDF

Previous QuestionNext Question
Explain what is a Class?Explain me what is Fast Enumeration?