Problem @(12/13)

Hi. I’m having trouble at this spot.
Where did I do wrong?
Thanks in advance!

Oh its a simple error.

when you did restarurantMenu.keyset(); . Just captialize the Set . Remember almost everytime in Java the methods are camelcase.

Your Code:

for (String item : restaurantMenu.keyset())

Correct Code:

for (String item : restaurantMenu.keySet())

If that didnt help please reply saying so! Good Luck i hope that helped!

That helped! Thanks a lot!

No Problem! Glad to help

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