« All Events
7 PM – Intro To Java – Gamas
February 3, 2022 @ 7:00 pm - 8:00 pm
Homework
- Continue with Thu7PMEmailApplication.
- Do feature “1. Create an Email Account”, “3. List all email accounts” and “4. Exit”.
- You have to create a new class called EmailAccount.java with 3 attributes: email, password, name.
- When you create a new Email Account store it inside Map<String, EmailAccount>.
- Look at below example
-
Please select from below
1. Create an Email Account
2. Login
3. List all Email Accounts
4. Exit
Enter your selection:1
CREATE EMAIL ACCOUNT
1. Enter your name: Nathan Truong
2. Enter your email: nathan@ayclogic.com
3. Enter your password: 1234
Please select from below
1. Create an Email Account
2. Login
3. List all Email Accounts
4. Exit
Enter your selection:3
There are total of 3 email accounts in the system
1. Nathan Truong - nathan@ayclogic.com
2. Gamas Chang - gamas@ayclogic.com
3. Jessica Sunjoyo - jessica@ayclogic.com
Please select from below
1. Create an Email Account
2. Login
3. List all Email Accounts
4. Exit
Enter your selection:4