11. It prints 11 yet it still won't let me progress


I'll join in on this since I'm having the same issue. My code:

import java.util.HashMap;

public class Restaurant {
	public static void main(String[] args) {
    HashMap<String, Integer> restaurantMenu = new
      HashMap<String, Integer>();
    restaurantMenu.put("Turkey Burger", 13);
    restaurantMenu.put("Naan Pizza", 11);
    restaurantMenu.put("Cranberry Kale Salad", 10);
    System.out.println(restaurantMenu.get ("Naan Pizza"));


It prints 11 yet it still won't let me progress.

11/13 array strings

Just refresh your browser


Same Issue. I even refreshed my browser.


Please some one help us with this issue


Hi Shankar,

If you start a new topic and post all of your code you will attract more helpers.


Use sample code then replace HashMap name with restaurantMenu and value with "Naan Pizza".
this work for me!