The question is simply answered by recognising that inheritance models an “IS-A” relationship, while membership models a “HAS-A” relationship.
- An employee IS A user
- An employee HAS A userinfo
Which one is correct? This is your answer.
The question is simply answered by recognising that inheritance models an “IS-A” relationship, while membership models a “HAS-A” relationship.
Which one is correct? This is your answer.