Codecademy Learn Java, HashMap Access, Accessing a HashMap

Channel:
Subscribers:
8,020
Published on ● Video Link: https://www.youtube.com/watch?v=VQDSlFBcCUk



Duration: 1:56
73 views
2


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-09Crypto Zombies Lesson 2, Chapter 8, Zombie DNA, Solidity DApp
2018-06-03Crypto Zombies Lesson 2, Chapter 7, Storage vs Memory
2018-06-01Crypto Zombies Lesson 2, Chapter 6, Import, Imports in Solidity
2018-05-27An Intro to Coding, Codecademy's Welcome To Codecademy Tutorial, Codecademy Starter Kit
2018-05-13Crypto Zombies Lesson 2, Chapter 5, Inheritance, Solidity Walkthrough
2018-05-11Crypto Zombies Lesson 2, Chapter 4, Require, Solidity Require Statements
2018-05-10Crypto Zombies Lesson 2, Chapter 3 Msg.sender, Solidity Language
2018-05-06Crypto Zombies Lesson 2, Chapter 2 Mappings and Addresses
2018-05-06Codecademy Learn Java, Data Structures Generalizations
2018-05-02Crypto Zombies, Chapter 2 Overview,Solidity Programming
2018-05-02Codecademy Learn Java, HashMap Access, Accessing a HashMap
2018-04-28Crypto Zombies Lesson 1 ,Ch14 Web3.js, Solidity Events
2018-04-28Codecademy Learn Java, HashMap, 2018 Programming
2018-04-28Crypto Zombies Lesson 1, Ch13 Events, Solidity Events
2018-04-27Codecademy Learn Java, For Each Loop, Programming in 2018
2018-04-26Conceptos Basicos de HTML, Imagenes y Enlaces, Aprende,
2018-04-25Codecademy Learn Java, Iterating over an ArrayList
2018-04-24Crypto Zombies Lesson 1 ,Ch12 Putting It Together, Solidity Tutorial
2018-04-23Codecademy Learn Java, ArrayList Insertion, Data Structures
2018-04-23Crypto Zombies Lesson 1 ,Ch11 Keccak256 and Typecasting, Solidity Programming
2018-04-22Crypto 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