Codecademy Learn Java, HashMap Access, Accessing a HashMap VIDEO
In this lesson for Codecademy's Learn Java course we look further into the Java HashMap. In this particular lesson we learn how to access the values within our HashMap. We learn that we can target a value within a HashMap by using its key. With Java arrays we learned we can access a value within the array by its index, well, with HashMaps we use the key to get the value. In this specific challenge we are asked to get the value of the "Naan Pizza" key. This returns the vallue 11 since Naan Pizza is the key whose value is 11.
Other Videos By We Will Code 2018-06-09 Crypto Zombies Lesson 2, Chapter 8, Zombie DNA, Solidity DApp 2018-06-03 Crypto Zombies Lesson 2, Chapter 7, Storage vs Memory 2018-06-01 Crypto Zombies Lesson 2, Chapter 6, Import, Imports in Solidity 2018-05-27 An Intro to Coding, Codecademy's Welcome To Codecademy Tutorial, Codecademy Starter Kit 2018-05-13 Crypto Zombies Lesson 2, Chapter 5, Inheritance, Solidity Walkthrough 2018-05-11 Crypto Zombies Lesson 2, Chapter 4, Require, Solidity Require Statements 2018-05-10 Crypto Zombies Lesson 2, Chapter 3 Msg.sender, Solidity Language 2018-05-06 Crypto Zombies Lesson 2, Chapter 2 Mappings and Addresses 2018-05-06 Codecademy Learn Java, Data Structures Generalizations 2018-05-02 Crypto Zombies, Chapter 2 Overview,Solidity Programming 2018-05-02 Codecademy Learn Java, HashMap Access, Accessing a HashMap 2018-04-28 Crypto Zombies Lesson 1 ,Ch14 Web3.js, Solidity Events 2018-04-28 Codecademy Learn Java, HashMap, 2018 Programming 2018-04-28 Crypto Zombies Lesson 1, Ch13 Events, Solidity Events 2018-04-27 Codecademy Learn Java, For Each Loop, Programming in 2018 2018-04-26 Conceptos Basicos de HTML, Imagenes y Enlaces, Aprende, 2018-04-25 Codecademy Learn Java, Iterating over an ArrayList 2018-04-24 Crypto Zombies Lesson 1 ,Ch12 Putting It Together, Solidity Tutorial 2018-04-23 Codecademy Learn Java, ArrayList Insertion, Data Structures 2018-04-23 Crypto Zombies Lesson 1 ,Ch11 Keccak256 and Typecasting, Solidity Programming 2018-04-22 Crypto Zombies Lesson 1 ,Ch10 More on Functions, Solidity Pure Vs View Function
Tags: Learn java
Codecademy's Learn Java
Learning Java
Java Programming in 2018
java hashmap