Nor Instance, , - ""... . , " ". , , .
-, CurrentUserName... , , CurrentUserName - - . " " CurrentUserName . , , , - ( , )...
- , , .
, , :
, , , , Student Person and Teacher Person. , ...
Person - , . ... , , , , , . ....
, "" ... , , "" , , ...
, , ....
, , ... , ... , t , , , .
By the way: I also think that a User having a list of email addresses is erroneous, but for a completely different set of motives. I would use
class ContactInformation
{
User contact;
EMailAddress email;
}
and remember that objects do not "own" and do not "have" other objects ... This is an implementation decision ... Objects simply "know" other objects ...