Enums (enumerations) are enumeration data types. You can use them to create fixed values that won't change within your program. In this video, I'll show you everything you need to know about enums in Java.
0:00 Introduction
0:14 Definition of Enums
0:33 Enums Explained: Comparison to String Arrays
1:41 Structure of Enums
2:58 Enums vs. String Arrays
3:24 Enums as Data Types for Variables
4:01 Why Do We Use Enums?
5:07 Switch x Enums: Making Decisions
6:06 Practical Example (Gamer)
8:52 Info for You
📚You might also be interested in:
Java Switch Tutorial: • Java Switch-Case in 8 min VERSTEHEN | Java...
Generics in Java: • Generics in Java: ALLE Grundlagen in 12 Mi...
Java Interface Tutorial: • Java Interfaces VERSTEHEN in 8 min | Java ...
🚀 Learn #Java in a playlist - • Video &list=PLO-P6W97sI0Q-o0oZy8NeUgi0s5WKK8IV
Enums can seem complicated at first... but I'm sure you'll understand them anyway! :) My respect if you participate alongside the #tutorial and try the challenges! Then you'll truly master enumerations in Java!
Let me know in the comments if this video helped you better understand enums in Java!
... 👾 Code from the tutorials: https://github.com/Jonas-Keil/learn-java
============
🔔 Subscribe so you don'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 pupil and want to learn the Java programming language, but don't know where to start? Then you've come to the right place!
On this channel, you'll find a guide that will help you learn Java step by step as a beginner. I know it's not always easy, and I'll do my best to explain everything as clearly as possible :) Have fun!!
Jonas Keil❤
#Programming #Java
PS: Some of the links in this description are affiliate links, from which I receive a commission :)