You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can you please help me understand the reason why we are chosing inheritance between User and Account class. The Account class has a data member Map<String, User> contacts.
Why don't we go for UserAccount class only and eliminate having an inheritance between the two.
Also thanks for contributing great content!!
The text was updated successfully, but these errors were encountered:
Can you please help me understand the reason why we are chosing inheritance between User and Account class. The Account class has a data member Map<String, User> contacts.
Why don't we go for UserAccount class only and eliminate having an inheritance between the two.
Also thanks for contributing great content!!
The text was updated successfully, but these errors were encountered: