American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

5 PM – Intro To Java – Alex Lee

April 21, 2023 @ 5:00 pm - 6:00 pm

Today We Did:
  1. We learned about HashMaps and how to store the information.
  2. Understood about the keys and values with it
  3. Started the RestaurantMap project
For Homework:
  1. First, create a new class in the package called “Restaurant”
  2. It should be created in the same way that you did Student and Teacher in the SchoolSystem
  3. It has four attributes, name, age, founding year, and cuisine.
  4. Make sure to create a constructor, getters, and setters.
  5. Once complete, go back to the add method in the RestaurantMap and create the Restaurant.
  6. After creation, store it inside a hashmap that you have to create. The key would be type String and the value would be type Restaurant

Details

Date:
April 21, 2023
Time:
5:00 pm - 6:00 pm
Event Categories:
,
Verified by MonsterInsights