American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

6 PM – Intro To Java – Darin

December 4, 2024 @ 6:00 pm - 7:00 pm

Today We Did:

  1. Reviewed the HW for SchoolSystem
  2. Learnt how to create Hashmaps with Map<key datatype, value datatype> {mapName} = HashMap<>()
  3. Learnt how to use HashMaps with the .get(key), .put(key, value), and .remove(key) methods.

Homework:

  1. Continue in your IntroToHashMap project and do the following:
// get a name from the shell
// check if the address exists
// if it doesnt exist, mention that the address doesn't exist with the given name
// if it does exist, create a new Address variable after querying the user for 4 new variables (you don't change the name)
// use .put again
// print out a statement saying its successful

// use the find method to verify you changed the address inside of run().

Notes:

If you have any questions, feel free to email me at ddjapri@ayclogic.com

Details

Date:
December 4, 2024
Time:
6:00 pm - 7:00 pm
Event Categories:
,
Verified by MonsterInsights