10/13 issue


#1

I am having a problem with 10/13. can anyone help?
import java.util.HashMap;

public class Restaurant {
public static void main(String[] args) {

HashMap<String, Integer> restaurantMenu = new HashMap<String, Integer>();

restaurantMenue.put("Turkey Burger", 13);

}
}


#2

There is a typo here:

restaurantMenue.put("Turkey Burger", 13);

It should be Menu, not Menue.


#3

that was the problem thx!!


#4

You're very welcome :slight_smile:


#5

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.