iOS Developer Question:

Explain the difference between Inheritance and Category?

Tweet Share WhatsApp

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 PDF Read All 102 iOS Developer Questions
Previous QuestionNext Question
Explain what is a Class?Explain me what is Fast Enumeration?