Today We Did:
- We finished up the School System for now but will return to it.
- We started and finished going over how to create a HashMap and use it.
For Homework:
- Create a new file that is called July27_RestaurantMap.java
- There should be a menu that is printed every time and it should show what is below.
- Make sure to create the main method, run method and have it printing the menu and a way to exit the while loop.
1. Add restaurant
2. List all restaurants
3. Find a Restaurant
Enter your selection (enter "exit" to quit):
- In the file, create a restaurantMap that’s key is a String and the value is a class called Restaurant that you also have to create.
- In the Restaurant.java file, make sure to create 4 variables (name, phoneNumber, year, cuisine) for the Restaurant object, the constructor for it, and also all of the getters and setters.