« All Events
7 PM – Intro To Java – Gamas
February 17, 2022 @ 7:00 pm - 8:00 pm
Today We Do:
- We continued with Email Application
- We added Check Inbox feature.
Homework
- Continue with Email Application.
- Create a new method “initializeEmailAccounts()”
- Inside this new method, add 3 EmailAccount objects to accountMap. You can create any 3 EmailAccounts you like.
- This is very similar to initializeTeachers() inside SchoolApplication. But in this case you are adding to a Map instead of List.
- After this, call this new method from inside run() method. BUT make sure to call this new method before the while loop.