Final Keyword in Java Full Tutorial - Final Classes, Methods, and Variables

preview_player
Показать описание

What does "final" do in Java? Learn what the "final" keyword means in 3 different places in your Java programs. Java has final variables, final classes, and final methods, and "final" works differently in each of those places.
So "final" in Java can be a bit confusing, but doesn't have to be! This video gives a complete understanding of "final" and how you can use it in your own Java programs.
Learn exactly what final variables, final classes, and final methods mean in this beginner's Java lesson video.

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

Hey, 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 developers.

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:

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

You are a master teacher. You know in what order to teach concepts, which examples will best convey the concept, and how to simply TEACH! Your personality, your passion, and the feeling of ease that you give off is so amazing. You'd be a great streamer. You're a fantastic communicator

adrianlowery
Автор

Dude, it's impressive how extremely clear you are in how you teach. Seriously, i don't know if there's any second in this tutorial (and all others) that could've been done better. Impressive

sebon
Автор

man you are amazing. i watched about 10 of your videos and understood each one of them. you are an amazing teacher john. have the utmost respect for you

njoelemmanuel
Автор

The great thing about these videos, it's not just the 'how to', but also give a real example from your experience. It helps so much to make sense. Thank you so much :)

dname
Автор

Dude, you have a video for every question I have! Love it! Thank you, it really helps! Keep it up!

ralufilth
Автор

Great tutorial for Final keyword in Java. Great appreciated for the video, John. I will pass my Java interview with your videos. Happy holidays

khiemdo
Автор

I wish YouTube could make it possible to give a video a like any number of times i want. John is a Hero! Thanks John!

francksgenlecroyant
Автор

Great video. Sometimes it is reasonable to have a final instance variable, which can be initialized in its definition or in the constructor or an init block, but not later. Not as common as the examples you gave, tho.

jvsnyc
Автор

Your channel is awesome, every video i've seen so far is succinct. This is the perfect way to refresh on Java concepts without having to waste time digging through my old courses or forums.

burgerbob
Автор

Thanks a lot John. I've been learning many things with your videos.

Anderzon
Автор

Excellent video! Thanks for making concepts like that easy to understand while keeping the video short.
I really hope your channel grows big, since I believe it deserves a lot more subs! Cheers 🍺

Clean_Slate
Автор

The way you explain the ideas behind the scenes really makes it tangible. Thanks :)

snsnsn
Автор

I dont know
for some reasons, anytime I have issues, I just jump on your youtube channel and found a perfect solution.
sir, I love what you are doing.
love from herndon virginia

gabrielfono
Автор

I really admire the way you define, explain tings . I feel it will be more good to ask questions at the end of explaining which helps to think more.

preethimarineni
Автор

John, love the videos. Thank you for making them.

YerushalayimShelZahv
Автор

As always, very helpful, comprehensive and well-explained video.

micleh
Автор

You're missing the static keyword video. And I need it john!!!!

teaadvice
Автор

I always wondered why we need to use static with final when it comes to methods. now i know! Amazing job! Subscribed already and i do that rarely!

sarahmahyoub
Автор

Great teacher know how to explain easy way.

gopalkannan
Автор

Thank you for the video. Help me so much ❤

einaveldaz