- This event has passed.
6 PM – Intro To Java – Darin
December 4, 2024 @ 6:00 pm - 7:00 pm
Today We Did:
- Reviewed the HW for SchoolSystem
- Learnt how to create Hashmaps with Map<key datatype, value datatype> {mapName} = HashMap<>()
- Learnt how to use HashMaps with the .get(key), .put(key, value), and .remove(key) methods.
Homework:
- 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