Set is, alongside List, the most important collection in Java. That's why I'll show you everything you need to know about sets in Java in 6 minutes. Enjoy!
0:00 Introduction
0:07 What is a set?
0:40 How do you create a set?
1:27 Adding Values to a Set
2:18 Reading Sets with for-each
2:48 Creating a Set with Set.of()
4:04 Working with Sets
4:48 Weapon Set
6:41 Challenge for You
📚You might also be interested in:
HashMaps in Java: • Java HashMap Tutorial - Java Programmieren...
Java Stack & Queue Tutorial: • Stack und Queue in Java (Collections #2) -...
Lists in Java: • Listen in Java (Collections #1) - Java Pr...
🚀 Learn #Java in a Playlist - • Video &list=PLO-P6W97sI0Q-o0oZy8NeUgi0s5WKK8IV
Sets can seem complicated at first... but I'm sure you'll get the hang of it! :) I'd really appreciate it if you join in alongside the #tutorial and try the challenges! Then you'll truly internalize sets in Java!
Let me know in the comments if this video helped you better understand sets in Java!
👾 Code from the tutorials: https://github.com/Jonas-Keil/learn-java
============
🔔 Subscribe so you won't miss any more videos: https://www.youtube.com/c/JonasKeil?s...
============
📢 Link to the Discord community: / discord
============
🎉 If you like my videos, support me on Patreon: / jonaskeil
▬👇🏻Important Links👇🏻 ▬▬▬▬
1. Java IDEA 💻 from the videos: https://www.jetbrains.com/de-de/idea/...
2. Links to my equipment 🛠: https://kit.co/JonasKeil/studio-setup
3. Music 🎶 from all tutorials: https://www.epidemicsound.com/referra...
4. Java books📚 that I can recommend: https://kit.co/JonasKeil/die-besten-j...
▬✨About this channel✨ ▬▬▬▬
Are you a student or school-age student who wants to learn the Java programming language but don't know where to start? Then this channel is the right place for you!
On this channel, you'll find a guide that will help you learn Java step by step as a Java beginner. I know it's not always easy, and I'll do my best to explain it as best as I can :) Have fun!!
Jonas Keil❤
#Programming #Java
PS: Some of the links in this description are affiliate links, from which I receive a commission :)
Sur cette page du site, vous pouvez voir la vidéo en ligne Set in Java (Collections #3) - Learn Java Programming - 41 durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Jonas Keil 26 août 2021, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 12,250 fois et il a aimé 370 téléspectateurs. Bon visionnage!