Java Tutorial #8: Getters and Setters Explained

Java Tutorial #8: Getters and Setters Explained

CodingWithChandler

6 лет назад

102,180 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@jean-paulboga8189
@jean-paulboga8189 - 24.11.2023 04:52

Good job

Ответить
@4max0
@4max0 - 30.10.2023 18:52

Thank you so much. :)

Ответить
@ramonsufranterecia7075
@ramonsufranterecia7075 - 14.10.2023 12:10

You are amazing, you just make it look so easy 🎉 thanks 🎉😅

Ответить
@user-nq4ho4hp5v
@user-nq4ho4hp5v - 11.10.2023 09:27

What’s the point of having private variable but both getter and setter be public?

Ответить
@dark_soul2292
@dark_soul2292 - 23.01.2023 22:51

Everything is good but still change ur editor colour ...we can't see properly......

Ответить
@SAM-ol5ip
@SAM-ol5ip - 16.01.2023 17:11

I hate how in uni they make this so hard while in reality it's not! thanks A LOT

Ответить
@kay6730
@kay6730 - 10.12.2022 14:58

did not see properties, only fields why ?

Ответить
@ezramukisa376
@ezramukisa376 - 07.12.2022 12:32

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 🙌

Ответить
@lestercarcamo4070
@lestercarcamo4070 - 26.10.2022 08:49

Excellent. This is very good.

Ответить
@sheed419
@sheed419 - 25.08.2022 16:19

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

Ответить
@belgianheskey
@belgianheskey - 24.07.2022 18:02

So this is so the file(class) can access the variables from the other file?

Ответить
@MrChester197
@MrChester197 - 13.05.2022 20:02

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.

Ответить
@zukiezuke
@zukiezuke - 25.04.2022 04:08

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.

Ответить
@antonioilievski6801
@antonioilievski6801 - 22.04.2022 16:53

sub! thanks

Ответить
@sherylen.2169
@sherylen.2169 - 14.03.2022 18:51

thankyou so much!😚

Ответить
@adrianlowery7175
@adrianlowery7175 - 28.02.2022 02:06

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.

Ответить
@tharakhgormaniad9820
@tharakhgormaniad9820 - 22.02.2022 19:42

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

Ответить
@Michelle-qw9qq
@Michelle-qw9qq - 18.01.2022 20:22

This is amazing! Thank you for breaking it all down I was definitely making things harder for myself lol.

Ответить
@Matt-qr8yu
@Matt-qr8yu - 12.01.2022 08:06

you are a savior

Ответить
@hewhomustnotbenamed3662
@hewhomustnotbenamed3662 - 14.12.2021 23:09

Thank you so much! So understandable and clear!

Ответить
@nitish2808
@nitish2808 - 13.12.2021 16:15

How do I access a protected getter setter in another package in Java?

Ответить
@chaseblodgett5745
@chaseblodgett5745 - 24.11.2021 06:11

Thank you!! Very well explained

Ответить
@dronef0415
@dronef0415 - 12.11.2021 08:55

This is basically string concatenation but with extra steps

Ответить
@brijkumar8207
@brijkumar8207 - 04.11.2021 07:29

Hello great explanation. Do you have Java class?

Ответить
@peterkim9696
@peterkim9696 - 21.10.2021 21:52

Nice.

Ответить
@maduvhamukwevho7622
@maduvhamukwevho7622 - 05.10.2021 05:41

i love that you are a female. finally. I've been getting only male tutors and its nice to get some feminine energy

Ответить
@ZiadL
@ZiadL - 23.09.2021 21:11

Perfect explanation ✔️

Ответить
@trymstmo5158
@trymstmo5158 - 10.08.2021 20:03

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

Ответить
@lishebolishebo2801
@lishebolishebo2801 - 25.07.2021 22:07

Well explained. Thank you.

Ответить
@jonker5096
@jonker5096 - 17.06.2021 16:06

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 :)

Ответить
@srinivasseenu1893
@srinivasseenu1893 - 05.05.2021 10:38

can this be done in a single code

Ответить
@oki9Sedo1
@oki9Sedo1 - 13.04.2021 00:34

Thank you for this! Very clear.

Ответить
@sandeshbasnet5500
@sandeshbasnet5500 - 19.03.2021 15:12

i am here for chandler
whats this video about 😜😜

Ответить
@omarkurdi9381
@omarkurdi9381 - 16.03.2021 23:48

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

Ответить
@bobert471
@bobert471 - 09.03.2021 06:20

So it's pretty much like creating helper functions similar to JavaScript and Node.js if I were building an API and had to get and set data. Really just helper functions right?

Ответить
@enesstastoli3049
@enesstastoli3049 - 02.03.2021 19:50

Great explanation

Ответить
@hossamqandel5303
@hossamqandel5303 - 28.02.2021 19:52

Thank u Chandler ❤️🦅

Ответить
@Morphues
@Morphues - 30.12.2020 08:05

thank u

Ответить
@habibazarsina5857
@habibazarsina5857 - 05.12.2020 23:49

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

Ответить
@mackymichel8052
@mackymichel8052 - 26.11.2020 19:37

Thank for this lesson, but what if I wanted to include constructors( both of them), how would I define them?

Ответить
@Shiroyashasama
@Shiroyashasama - 14.11.2020 00:57

666th liker

Ответить
@K4113B4113
@K4113B4113 - 08.11.2020 02:08

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

Ответить
@davidhamilton9871
@davidhamilton9871 - 01.11.2020 22:04

awesome thank you

Ответить