386 Views
An employee Is A person. Not mentioned before is the HAS-A relationship. This is basically a property of a class. The person Has A name. Since an employee will be an extension of a person, the employee Has A name as well. Think of Person as a Super-class and Employee as a sub-class.
0 comments