American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

9 AM – Intro To Java – Gamas

May 14, 2022 @ 9:00 am - 10:00 am

Today We Do
  1. We reviewed the practice quiz result about List, Bird class.
Homework
  1. In your Email Application project go to EmailAccount.java class.
  2. Add one more attribute, String phone number.
  3. Add this attribute to the constructor.
  4. Add getter and setter.
  5. Inside EmailApplicationMain.java, inside initializeEmailAccounts method, add phone number for every EmailAccount.
  6. Inside EmailApplicationMain.java, inside createEmailAccount(), ask user for their phone number. Pass the phone number when you create EmailAccount class.
  7. Inside EmailApplicationMain.java, inside listAllEmailAccounts(), display the user phone number.
  8. Look at example below
  9. Welcome to AYCLOGIC Email System.
    
    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: John Chen
    2. Enter your email: john@ayclogic.com
    3. Enter your password: abcd
    4. Enter your phone number: (818) 222-1111
    You have successfully created email account for John Chen.
    
    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 4 email accounts in the system
    1. Nathan Truong - nathan@ayclogic.com - (887) 888-8888
    2. John Chen - john@ayclogic.com - (818) 222-1111
    3. Gamas Chang - gamas@ayclogic.com - (888) 888-8888
    4. Amber Kuo - amber@ayclogic.com - (886) 888-8888
    
    Please select from below
    1. Create an Email Account
    2. Login
    3. List all Email Accounts
    4. Exit
    Enter your selection:

Details

Date:
May 14, 2022
Time:
9:00 am - 10:00 am
Event Categories:
,
Verified by MonsterInsights