Trusted by millions of Kenyans
Study resources on Kenyaplex

Get ready-made curriculum aligned revision materials

Exam papers, notes, holiday assignments and topical questions – all aligned to the Kenyan curriculum.

What is generalization? Give its advantage.

What is generalization? Give its advantage.

Answers


gregory

Super classsubclass relationship also known as generalization hierarchy; allow objects to be built from other objects. Such relationships allow us to explicitly take advantage of the commonality of objects when constructing new classes. The super-sub class hierarchy is a relationship between classes, where one class is the parent (super or ancestor) class of another (derived) class. The real advantage of using this technique is that we can build on what we already have and more important, reuse what we already have.
gregorymasila answered the question on January 24, 2018 at 16:48

Answer Attachments

Exams With Marking Schemes

Related Questions