Saturday, 9 August 2014

What is the Generalization and Specialization in Java

Generalization:

Generalization is the process of extracting shared characteristics from two or more classes, and combining them into a generalized superclass. Shared characteristics can be attributes, associations, or methods.

Specialization:

In contrast to generalization, specialization means creating new subclasses from an existing class.




Generalization and specialization




No comments:

Post a Comment