I'm having a problem with a task given and I would like to ask for an advice.
I've been told to implement: IPerson interface Person class based on IPerson IEmployee and Employee extending IPerson and Person
The last sentence made by confused, I have no idea how to cope with that requirements. I have a thought and I'd like it to be verified by You, since Person and Employee will be stored using a List then:
Will IEmployee extend IPerson and Employee just implement IEmployee? or in addition to that Employee should extend Person as well?
Thanks for an answer to this question!
IPersonastring Nameproperty andIEmployeeanstring EmployeeCodeproperty and see how far you'll get?