Getters and Setters Java Tutorial #84

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

Welcome to this getters and setters java tutorial! Getters and setters in java let you set/get private variables in a class with methods.

Getters and setters in java can be tricky at first... But SURELY you'll get it :) If you followed along, congrats! You learned by-doing!

I hope you enjoyed this getters and setters java tutorial! I like to have a nice mix of java tutorials and actual projects for you all :)

Was this able to help you learn getters and setters in java?

Disclosure: The Springboard link provided is linked to my affiliate account & supports the channel.

~

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

My professor is useless. Thank you for this video, I needed it.

magicvibrations
Автор

Just did my java final earlier this week, definitely would of failed without your videos, thanks for your good work!

Sir_Sammi
Автор

Alex, please continue doing these tutorials. It helps me, and I'm sure a lot of others who want to extend their knowledge of Java.

soar
Автор

This man has just saved my schooling career!!

melodyosterholm
Автор

bruh, this video explained "this' better than any of the other 10-20min videos out there specifically trying to explain "this". THANK YOU

jj-fehz
Автор

Thank you! I have been writing get, set for a month without knowing why and when to use lol. Thanks a lot

minhhuynh
Автор

Alex. You are so humble person. Great and easy explanations of all topics. Please give more exsamples for oop concepts, array, collections. (You may give exsamples from real life). I recommend you to my friends they are very glad to watch you. Respect. You do such a great job.

teachernewteacher
Автор

I have recently started to learn Java and when I saw him get excited by generating the getters and setters my heart skipped a beatt cause I'm used to that, but it's so cute when you see people get excited about things you already know or have. It makes me think of elderly who are surprised by all the new technologies

christianek.
Автор

Getters/setters also allow you to perform actions on the input before setting/getting the variable, for example, you could change the setName to
this.name = name.toUpperCase();
This will set the variable to all caps. Getters/setters are very powerful when used correctly!

ShadyChild
Автор

Alex, your videos are incredibly helpful. You have a real knack for explaining confusing concepts in an extremely understandable and simple way. Thank you!

karaunderwood
Автор

You are like a magician that casts a spell, and all of a sudden the fog is going away, making room for the sun to shine.
My mind felt like clearing up while I was watching this awesome video of yours.
There are many Java-related tutorial videos out there, but none of them have this talent to explain in such a clear and comprehensible way. Bonus points for your charismatic and charming charisma 😊😊

Cablur
Автор

I have a test next week and this video really helped me ty!

minimnches
Автор

You explained more in the first minute than my damn class and professor did this whole semester. Thank you!

NEnigma
Автор

@Alex Lee All schools should have to pay a small dividend to you for students that passed their classes, but only did so because they watched your videos. You are a Java programming wizard in my book my man! Thanks for also stepping through how the compiler runs through the code. That really helped hit it home and tied it all together.

kbt
Автор

omg 13:01 the short cut is very useful ! Thank you Alex !!! Right click -->Source-->Generate Getters and Setters

rittenbrake
Автор

Alex is literally in a class of his own at teaching Java

asthetikleo
Автор

I havent seen any other tutorials that explain step by step of what you are doing and why. Thank you!! Youre the besttt

jackiegura
Автор

Alex!!! Thanks so much for all your videos! I've just started my Java course and your video's really help me out a lot!

dominiquegruter
Автор

You make java extremely simple without over complicating it! Appreciate the videos man!

Imluisx
Автор

I'm currently taking this course and to have further knowledge, I watch your free videos. Thank you and please do create more!

Jerry-dqzz