« All Events
6 PM – Intro To Java
July 15, 2021 @ 6:00 pm - 7:00 pm
Today We Do
- We reviewed the homework where after user login, user should only be able to view his/her own emails in his/her Inbox. This is what should happen when they select “Check your inbox”.
- We reviewed about HashMap.
- We reviewed, the current design now, will only be able to store one email message person, which is not good.
- Next week we are going to discuss how to store more than one email messages per person.
Homework
- Create a new Java project in IntelliJ, call it HashMapListProject
- Create a new Java file MapLoop.java and copy code from here: https://www.netjstech.com/2015/07/how-to-iterate-hash-map-of-arraylists-java.html
- Run the program and make sure there is no error. Next week we are going to discuss about Map<String, List<EmailMessage>> which is similar to exercise above.