Difference between Generalization and inheritance with suitable example. OOAD

Pratik Lalan picture Pratik Lalan · Dec 4, 2016 · Viewed 9.2k times · Source

Studying about Generalization and inheritance making me confuse, both gives the same meaning as if something is being inherited..but cant figure out the actual difference.

Answer

RKS picture RKS · Jan 16, 2017

Generalization is the term that we use to denote abstraction of common properties into a base class in UML.

When we implement Generalization in a programming language, it is called Inheritance.

So, Generalization and Inheritance are same, the terminology just differs depending on the context where it is being used.