judithbarer
Programmer
I am designing a system trying to use object oriented design. I have a question about inheritance. I work for a kosher certifying agency. The agency has employees that work in the office or inspect factories. The same employee can do both. There are also employees who are called administrators who can also be inspectors. I thought I would a class called employee and then two classes that would inherit from employee called inspector and administrator.Is there any problem from a OO design standpoint if the same employee can be both and also be an employee at the same time?
Thanks
Judy
Thanks
Judy