Person
+Specialization:String
Employee:Person
+Dept:String
+Salary:float
Manager:Employee
+NoOfReports:int
Generalization
Inheritance
Specialization
Con...
Inheritance:
Is a mechanism in which one class acquires the properties and
behaviors of another class.
The inheriting class is called a subclass or derived class and the
class whose properties and behaviors are inherited is called a
superclass or base class.
Specialization:
Is a generalization relationship between a generalized entity and a
more specific entity.
Generalization