Java Enums Explained in 6 Minutes

preview_player
Показать описание
All about Enums in Java - Full tutorial with concrete examples.

Enums (short for Enumerations) are used in Java to hold types that have a certain finite set of values. But if you're new to enums, they can be a little confusing. In this Java beginners' tutorial video, we'll talk all about enums - how you can create your own enums, how to use them, and in what situation using an enum makes sense in your code. All in less than 6 minutes!

Learn or improve your Java by watching it being coded live!

Hi, I'm John! I'm a Lead Java Software Engineer and I've been in the programming industry for more than a decade. I love sharing what I've learned over the years in a way that's understandable for all levels of Java learners.

Let me know what else you'd like to see!

Links to any stuff in this description are affiliate links, so if you buy a product through those links I may earn a small commission.

📕 THE best book to learn Java, Effective Java by Joshua Bloch

📕 One of my favorite programming books, Clean Code by Robert Martin

🎧 Or get the audio version of Clean Code for FREE here with an Audible free trial

🖥️Standing desk brand I use for recording (get a code for $30 off through this link!)

📹Phone I use for recording:

🎙️Microphone I use (classy, I know):

Donate with PayPal (Thank you so much!)

☕Complete Java course:

Рекомендации по теме
Комментарии
Автор

How does this man manage to break down these concepts so effectively, especially at such a quick pace?! These videos are a godsend. The way you add a small piece of code then fully explain why you added it and what it does makes the code extremely easy to understand. The humour along with the simple but creative programs is also a huge plus, very engaging. Thank you!!

ScottishKoala
Автор

Can you make a long tutorial about what a junior Java developer should know 100% to pass an interview or cover some core topics about it or a playlist of videos? Your videos are pretty understandable and informative, thank you.

howtomath
Автор

We had to implement the 2nd part of your video(with grades instead of cereal) as part of my exam(on paper). Without you, I would not have gotten it correct. Thank you!!!

AhmedMusrin
Автор

I was trying to understand Enums in practice to implement in my C# code, but a Java video nailed it for me. Now I understand when my teachers said "learn the idea, not the syntax".

jordhan
Автор

These tutorials are amazingly clear and understandable. I'm so grateful because that's not always the case with coding tutorials.

valoriebroderick
Автор

I am so glad that whenever I don't understand something in java, your videos are top on the list!!

DaBestOhYeah
Автор

The mutability of Enum fields is a nugget of wisdom, which i didn't anticipated. Thanks!

larryd
Автор

Love your videos. John.
Thank you so much for making the videos.
It is pleasure to see you having fun in Java.

hangyeollee-creuset
Автор

Your videos are fantastic! Well thought out and prepared. Easy to understand for beginners. Best out here on Youtube

CodeMonkeyy
Автор

Thank you for sharing! Love the names you give to them and also the shortcut tips!

MrDarshD
Автор

Ridiculously helpful. As well as short simple and to the point. thanks.

karlcossaboon
Автор

Straight to the point, and very pedagogical. I have already subscribed, but I like is coming right up.

Drogo
Автор

Bless you and your video(s). I started studying for the OCA and your videos are a big help in understanding the dry text from the book in minutes (literally), haha.

Habijob
Автор

Thank you John, please keep going with new videos and don't stop, I am learning a lot from you....

faroukmatamir
Автор

Hey, you may not remember me, but I watched one of your I/O java videos a couple of weeks back and I just wanted to say thanks for the clear straight forward but most importantly amazing Java tutorials you've put out

janfeyen
Автор

You’re making my life much easier thank you so much man i really appreciate you

sss_az
Автор

Clear and crisp. Thanks for video. Subscribed.

santuyou
Автор

sir
thanks so much
I really appreciate
I taught myself frontend development two years ago and I got hired recently as backend engineer.
since I recently started learning java, I was struggling on something on my assignment and this video basically explain everything.
your example is similar to the problem I have .
I right away subscribe and will recommend this channel to my friend
I want to say thank again

gabrielfono
Автор

Hi John, another nice thing about enums is that you can use abstract methods to customize the constants :)

flaviuvanca
Автор

Much gooood John. God Bless you! Keep doing that. It's helping me a lot.

isaacweber