Learn Java HASHMAPS in 10 minutes! 🗺️

  Рет қаралды 3,007

Bro Code

Bro Code

Күн бұрын

Пікірлер: 11
@BroCodez
@BroCodez Ай бұрын
import java.util.HashMap; public class Main { public static void main(String[] args) { // HashMap = A data structure that stores key-value pairs // Keys are unique, but Values can be duplicated // Does not maintain any order, but is memory efficient // HashMap HashMap map = new HashMap(); map.put("apple", 0.50); map.put("orange", 0.50); map.put("banana", 0.25); map.put("coconut", 1.00); //System.out.println(map); //map.remove("apple"); //map.get("coconut"); //map.containsKey("pineapple"); //map.containsValue(1.00); //map.size(); for(String key : map.keySet()){ System.out.println(key + " : $" + map.get(key)); } } }
@FromTheWombTotheGrave
@FromTheWombTotheGrave Ай бұрын
Can you make course specifally for AI using Python? Like creating AI projects with LLMs,local LLMs And general introduction to AI programming.
@MatthewLitwiz
@MatthewLitwiz Ай бұрын
Tf u did java content again and im just finding out 2 weeks later, man i got catchup todo, ur vids truly the best, especially java to me
@MassiveKittenFire-vw1cw
@MassiveKittenFire-vw1cw 19 күн бұрын
In the for loop, why can't you get you the number of keys by using map.size()?
@Seif285
@Seif285 Ай бұрын
Thank you bro
@pubgnoob2000
@pubgnoob2000 Ай бұрын
Bro Code used to watch sponge bob and he loves pizza😂😂😂😂😂😂
@pmuni2972
@pmuni2972 Ай бұрын
after this tutorial what we need to learn
@IMODURYT
@IMODURYT Ай бұрын
hello, i am the 1st viewer comment
@Nyxentious
@Nyxentious Ай бұрын
Only 7 comments? Y'all crazy
@Goodluck-ig2nz
@Goodluck-ig2nz Ай бұрын
Hello i liked your video and i believe i am entillted to one reply can i get a typescript tutorial please reply i have got an interview next week
Learn Java ENUMS in 10 minutes! 📅
10:10
Bro Code
Рет қаралды 2,3 М.
Learn Java GENERICS in 13 minutes! 📦
13:56
Bro Code
Рет қаралды 5 М.
БОЙКАЛАР| bayGUYS | 27 шығарылым
28:49
bayGUYS
Рет қаралды 1,1 МЛН
Counter-Strike 2 - Новый кс. Cтарый я
13:10
Marmok
Рет қаралды 2,8 МЛН
$1 vs $500,000 Plane Ticket!
12:20
MrBeast
Рет қаралды 122 МЛН
How programmers flex on each other
6:20
Fireship
Рет қаралды 2,6 МЛН
Java HashMap 🗺️
13:05
Bro Code
Рет қаралды 94 М.
Learn Java THREADING in 10 minutes! 🧵
10:21
Bro Code
Рет қаралды 2,7 М.
Why OOP is evolving(and why it's a good thing)
7:35
TMF
Рет қаралды 17 М.
Learn GETTER and SETTERS in 10 minutes! 🔐
10:06
Bro Code
Рет қаралды 10 М.
10 Math Concepts for Programmers
9:32
Fireship
Рет қаралды 2 МЛН
Generics In Java - Full Simple Tutorial
17:34
Coding with John
Рет қаралды 1,1 МЛН
Learn Java ARRAYLISTS in 9 minutes! 📃
9:40
Bro Code
Рет қаралды 2,9 М.
How HashMap works in Java? With Animation!! whats new in java8 tutorial
15:29
Ranjith ramachandran
Рет қаралды 1 МЛН