1.

What Is Generalization And Specialization?

Answer»

Generalization: Generalization is the abstraction of COMMON FEATURE among elements by the creation of a hierarchy of more general elements that encapsulate common features. For example, in animal world a cat and a dog SHARE some common features and we create a common general class “MAMMAL” which encapsulates common their common feature. A cat, a dog – both are consistent with mammal class.
Specialization: The other face of generalization is specialization. A class is said to be specialized when it has a set of characteristics that uniquely distinguish it from its SUPER class. For example, a cat is a mammal but it is more specialized

Generalization: Generalization is the abstraction of common feature among elements by the creation of a hierarchy of more general elements that encapsulate common features. For example, in animal world a cat and a dog share some common features and we create a common general class “Mammal” which encapsulates common their common feature. A cat, a dog – both are consistent with mammal class.
Specialization: The other face of generalization is specialization. A class is said to be specialized when it has a set of characteristics that uniquely distinguish it from its super class. For example, a cat is a mammal but it is more specialized



Discussion

No Comment Found