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


Next: Briefly discuss UML and State significance of the Unified Modeling Language (UML) in object orientation
Previous: Define a model and briefly discuss the two types of models

View More Computer Science Questions and Answers | Return to Questions Index


Exams With Marking Schemes

Related Questions