- This event has passed.
4 PM – Intro To Java – William
December 23, 2023 @ 3:40 pm - 5:00 pm
Today We Did
- Finished learning about HashMaps
- containsKey()
- Replace values
- remove()
- size()
- keySet()
- values()
- Started EmailApplication
- createEmailAccount()
- Created EmailAccount class
Homework
Work on EmailApplication:
- Create getter methods for EmailAccount (refer to Student in SchoolApplication as reference)
- Implement listAllEmailAccounts():
- Print the message: “We have a total of __ email accounts in our system!”
- List all accounts in the system in the format: “#. (name) – (email)”
- The output should look something like:
Please select an item below: 1. Create an email account 2. Login 3. List all email accounts 4. Exit Please make your selection (1-4): 3 We have a total of 3 email accounts in our system! 1. Elijah Tshing - iamverycool@gmail.com 2. Jayden Chong - tomato@outlook.com 3. Shawn Zhuang - szhuang@ayclogic.com
REMINDER: NO CLASS NEXT WEEK. Happy Holidays!
If you have any questions, please email me at williamsmith@ayclogic.com.