Codecademy Learn Java, HashMap, 2018 Programming

Lesson Summary

In this Codecademy lesson in the Learn Java course we are looking at the Java HashMap. HashMaps in Java keep structured data which comes in key value pairs. We learn that we use the HashMap keyword then specify the type of values, then name our HashMap then assign it a new HashMap. In this specific challenge we create a ResterauntMenu HashMap which will store a string as a key, and a integer for a value.

Subscribe To Monthly Newsletter. Chance to Win Monthly Prizes

* indicates required