<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>
<Below this line, add a link to the EXACT exercise that you are stuck at.>
https://www.codecademy.com/en/courses/learn-java/lessons/data-structures/exercises/hashmap
<In what way does your code behave incorrectly? Include ALL error messages.>
I keep getting the error message: Did you create the restaurantMenu
HashMap inside of main?
import java.util.HashMap;
public class Restaurant {
public static void main(String args) {
HashMap <String, Integer> restaurantMenu = new HashMap <String, Integer>();
}
}
<do not remove the three backticks above>