American Young Coder

AYC logo
Loading Events

« All Events

  • This event has passed.

5 PM – Intro to Java – Joel

August 12 @ 5:00 pm

Today we did:
  1. We continued with AddressBookSystem.

 

Homework:
  1. Make a new class called Owner.java. It will have the following attributes:
    1. name – String
    2. age – int
    3. phoneNumber – String
  2. Create the constructor, getters and setters, and then in the AddressBookSystem.java, make a hashmap called ownerMap. It will store phoneNumber as the key, and the value is the Owner object itself.
  3. Add more selections to the menu, allowing for “Add an Owner”, and “List all Owners”. Do it similarly to how we did add and list for Address today.

Details

Date:
August 12
Time:
5:00 pm