« All Events
10 AM – Intro To Java
October 16, 2021 @ 10:00 am - 11:00 am
Homework
- The email application code now can only have one email message per person. Fix the code so it can have more than one email message per person.
- Look at handleCreateEmail(EmailAccount) method. You have to change the code so it will do the following
- Check if there is already existing List<EmailMessage> inside messageMap. If there is already one, just add the new EmailMessage to this existing list.
- If there is not existing List, then create a new List, add the new EmailMessage to this new List and insert the list to the messageMap. This is the current behavior.