« All Events
7 PM – Intro To Java – Gamas
February 10, 2022 @ 7:00 pm - 8:00 pm
Today We Do
- We continued with Thu7PMEmailApplication project.
- We added feature to login
- We display 2nd menu continuously after email and password match.
Homework
- Continue with Thu7PMEmailApplication.
- During login, when user enters a wrong password, print “You have entered an invalid password.” and go back to the main menu.
- Create a new class EmailMessage with the following class attributes: senderEmail, sendToEmail, subject, content.
- Inside EmailSystem.java, add a new Map<String, EmailMessage>
- After successful login. add “2. Create new email” feature. In this feature after creating an email, you are supposed to store in the new map you created above with senderEmail as the key of the map.
-
Gamas Chang, please select from below:
1. Check your inbox
2. Create new email
3. Logout
Enter your selection:2
CREATE EMAIL from Gamas Chang
Send To: jessica@ayclogic.com
Subject: I want to register to your school
Content: I am interested in learning Python, can you help me enroll
You have successfully sent email to jessica@ayclogic.com
Gamas Chang, please select from below:
1. Check your inbox
2. Create new email
3. Logout
Enter your selection: