Java Tutorial #8: Getters and Setters Explained

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

SUBSCRIBE TO MY MAIN CHANNEL - ChandlerKnowsBest:

DONATE TO MY PATREON:

Social Media:

Equipment:

Feel free to make/upload a response video! I’d love to see what my fans think. 

Want to collaborate? Shoot me an email!
Рекомендации по теме
Комментарии
Автор

3:05 THANK GOD finally someone explained this in few seconds instead of paragraphs

LNasterio
Автор

I just wanted to agree with everyone here; this is way better than anything my school has showed me for this subject. I no longer have any confusion or questions and I understand why you would want to use this method (I initially thought my school was just making things harder for no reason). Thank you :)

jonker
Автор

Wow, imagine. I'm at uni but it has never been as easy to understand as this 8 minute video. This deserves a million subscribers 🙌

ezramukisa
Автор

At 3:06 isn't the instance variable the one on the left? So if you weren't using this.name = name it would be name = Name right?

jameskerester
Автор

what a really good point you mention that freed my mind and it was Setter should be before Getters, cause it makes more scenes in this form. Btw I'm aware it's not really that important to cause a problem if in reverse but for learning purpose it's better in this way

MehranHosseini-poeg
Автор

I spent a while searching and this is the best AND most straightforward explanation out there I could see. Thank you so much, I feel like I actually get it when at this point I was willing to settle for someone just telling me what to do.

zukiezuke
Автор

Thanks a million. Most video go back and forth I couldn't really understand. This is the first time I've understood getters and setters.

minyoi
Автор

I literally can't thank you enough i watched all the you tube vids about learning java setters and getters and yours is the best one i understood the use of them finally thanks alot

omarkurdi
Автор

Perfect video for learning or doing quick revision. Thanks Chandler!

rudiminnaar
Автор

I just found your channel by searching this topic. You have explained this so much better than anyone else, including my professor. I also learned about the generate feature on IntelliJ and my mind is blown. thank you SO MUCH.

MrChester
Автор

WOW!!!
I was having problems with getters and setters until I came across this video... thanks girl!!!!

sheed
Автор

Thanks, Chandler. You are a great teacher/tutor. After watching your video I have a better understanding of setters and getters in Java.

habibazarsina
Автор

THANK U SO MUCH!!! THIS IS WHAT I NEEDED A SIMPLE AND CLEAR EXPLANATION U SAVED MY LIFE

tharakhgormaniad
Автор

You actually explained stuff as you did it. Amazing. My teacher can’t even do that. Subscribed.

KB
Автор

I'm in school and yesterday my teacher was explaining a course that also contained getters and setters, and I didn't understand sh*t. In these 8 minutes of your video, I'm like: holy cow, this is actually really easy. I just needed someone to explain it well and take it slow

SuperDaxos
Автор

Thank god, finally someone thats actullay are good at this. Thanks!

trymstmo
Автор

Hi CodingWithChandler,
at 3:01 you said if we change name to Name it will be Name = name,
however, if I understand correctly left side where is this.name related to private String name, and right side is what coming from method's parameter /argument.
Please correct me if I'm wrong,

olzhaskrm
Автор

THANK YOU for explaining the concept so simply. That is what makes a great teacher. And thank you for showing shortcuts! I had no idea that IntelliJ would generate getters and setters.

adrianlowery
Автор

You described this way better than my professor. Thank you!

brandontaylor
Автор

Thank I wrote 157 lines of code to do what you did in 10 line of code #overthinking

maurosgarage