0
1.3kviews
Give the use of generalization in class modelling.

diplomaSubject: Object Oriented Modeling and Design

Difficulty: Medium

Marks: 4 Marks

1 Answer
0
53views

Use of generalization in class modeling:

  • Generalization supports for polymorphism. In this, a call for an operation at the superclass level is resolved by the object oriented compiler to the method that matches the calling object‟s class. Polymorphism increases the flexibility of software.
  • Generalization structures the description of objects. When generalization is used objects are organizes on the basis of their similarities and differences.

  • Generalization is used to reuse the existing code. Reuse is more productive than repeatedly writing a code from scratch.

Please log in to add an answer.