- This event has passed.
9 AM – Intro To Java
March 21, 2021 @ 9:00 am - 10:00 am
- We added a feature where we store messages to messages.json after user created an email.
- Homework:
- Inside run() in the very beginning of the method, call “readMessagesFromFile();” . This way all messages are read from messages.json.
- Implement Inbox feature
-
* INBOX * 1. using for loop go through each message inside "messages" List. * 2. for each of the messages, get the "recipientAccountIds" List. * 3. using another for loop to go through each element inside "recipientAccountIds" List. * 4. compare with "account.getId()" to find only your emails. * 5. if you found a match, print the email to the shell.