If you’re new to programming but want a career in tech, I HIGHLY RECOMMEND applying to one of Springboard’s online coding bootcamps (use code ALEXLEE for $1,000 off): bit.ly/3HX970h
It's not always that they are useless, but the curriculum puts constraints on how effective of teachers they can be.
3 года назад+14
Exactly. My course is teaching me the same thing in 4 hours and I don't get it at the end of it plus feeling like a stupid. And he literally teach perfectly in 15 minutes. I don't know what else to say.
Nice I did mine Monday. Alot better now that it's summer I feel like I'm going to learn alot more just doing my own stuff and making projects for fun. School has a way of sucking all the fun out of anything interesting. Lol
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.
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!
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 😊😊
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
@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.
Alex, your videos are incredibly helpful. You have a real knack for explaining confusing concepts in an extremely understandable and simple way. Thank you!
6:22 It doesn't confuse the computer (or rather the compiler). It simply sets the local variable 'name' to itself. By doing this it doesn't achieve the goal you want because the name of the scope variable and object variable are the same and the latest defined variable in the scope will always be used. On another note: Getters and setters are a lot of boilerplate code. Even for beginners I would suggest using something the like Lombok extension / plugin for Java. Creating something like the Account class in this video can then be done with: @Data public class Account { private String name; private int age; } That piece of code will have getters and setters and even equalization that is desired. At compile time it will be converted to normal Java code. Or if that is too much you can also use public class Account { @Getter @Setter private String name; @Getter @Setter private int age; }
Hey ! Alex, I am from India. This comment is to thanks you "This video help me to understand getter & setters easily" , also your bonus tip is just like you nailed it.
Great! The author decided from the very beginning to teach programmers what everyone has been trying to unlearn for about 15 years now: write accessor methods.
13:18 If you are using NetBeans click (Alt + Ins) >> If you are using a LapTop like me, you will find (Ins) in the numbers pad on your right-hand side.
When my professor introduced our getters/setters lecture, I thought this was about to be a deep lecture in OOP theory. Come to learn, it was all about creating instance methods to return the state of an object or implement some action on it's state within a client program. I wanted to leave after 5 minutes. I'll say though, I'm glad you've gone over this and I think your video is about the right amount of time for any student to understand these fundamental concepts.
not that I didn't understand what setters and getters are for but I'm glad your youtube channel exists cause my java II professor barely teaches like this at all. Just gives us reading assignments and you basically gotta teach yourself the material
Dude Thank you so muchhhh for create these videos 🥺❤️❤️ They don't teach us anything at uni . Your videos helped me a lot .Thank you wish you the bests 🙏🏻
Thanks a lot ! I actually tried finding a video explaining this keyword and getter and setter for over 4 hours, and I found this now. You actually make concepts a lot easier to understand. And thanks again, I needed this for an assignment.
THANK YOU SO MUCH! you're so much better than my current professor in university (no offense to him but I got so frustrated that I didn't get what he said because he keeps over complicating and over explaining his lessons that I got confused) but this is all the lesson had to say ;-;
Great video again!! 😊👍 But i wonder if you, in the future can make seperate class files for the methods etc...since that is actually how the program has to be stuctured. But by all means, love you videos!!❤
Hey, just wanna say you're really awesome! Your tutorial really helps and its very easy to understand. My professor's teaching is nowhere near your teaching. I hope you continue to make these videos, thank you so much for these!
Thanks for really sharing , good work with us, am really appreciating the good effort you are putting in. Honestly I have understood the topic well. Thank you very much Lee
I'm grateful I found this channel. Thank you very much sir! I'll be more happy if you make a video for "Different Errors in Java programming and how to fix them" and "Shortcuts and the environment of Eclipse" (cause we can't edit in Photoshop without knowing it's tools right?) Thank you again sirr!
If you’re new to programming but want a career in tech, I HIGHLY RECOMMEND applying to one of Springboard’s online coding bootcamps (use code ALEXLEE for $1,000 off): bit.ly/3HX970h
My professor is useless. Thank you for this video, I needed it.
It's not always that they are useless, but the curriculum puts constraints on how effective of teachers they can be.
Exactly. My course is teaching me the same thing in 4 hours and I don't get it at the end of it plus feeling like a stupid. And he literally teach perfectly in 15 minutes. I don't know what else to say.
University is mainly for profit.
@@thejamericanexperience2757 Depends on the university
wouldn't agree more 😤
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.
Just did my java final earlier this week, definitely would of failed without your videos, thanks for your good work!
Nice I did mine Monday. Alot better now that it's summer I feel like I'm going to learn alot more just doing my own stuff and making projects for fun. School has a way of sucking all the fun out of anything interesting. Lol
Would've
What kind of example questions did you encounter? Could you show us 1 or 2? Just to see what they ask in a java exam =D
its not work its a work of art you troll
This man has just saved my schooling career!!
bruh, this video explained "this' better than any of the other 10-20min videos out there specifically trying to explain "this". THANK YOU
omg 13:01 the short cut is very useful ! Thank you Alex !!! Right click -->Source-->Generate Getters and Setters
Thank you! I have been writing get, set for a month without knowing why and when to use lol. Thanks a lot
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.
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!
cool, didnt know we could use .toUpperCase() with set, thankss
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 😊😊
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
He already knew about it lol. He was just excited to tell us about it because its a great shortcut for beginners, not because he just learned it.
@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.
Hello Alex. My name is Freeman, from Nigeria. Just to let you know that your videos made great impact to my learning java. Thank you so much.
I have a test next week and this video really helped me ty!
You make java extremely simple without over complicating it! Appreciate the videos man!
I'm so grateful for all of Alex's YT videos haha
You explained in 5 minutes what my professor couldn’t explain in 2 weeks, well done!
Just learned this in my AP comp sci course, nice vid
Nice :)
Alex, your videos are incredibly helpful. You have a real knack for explaining confusing concepts in an extremely understandable and simple way. Thank you!
I LOVE ALL YOUR VIDEOS! Thanks a lot
6:22 It doesn't confuse the computer (or rather the compiler). It simply sets the local variable 'name' to itself. By doing this it doesn't achieve the goal you want because the name of the scope variable and object variable are the same and the latest defined variable in the scope will always be used.
On another note:
Getters and setters are a lot of boilerplate code. Even for beginners I would suggest using something the like Lombok extension / plugin for Java. Creating something like the Account class in this video can then be done with:
@Data
public class Account {
private String name;
private int age;
}
That piece of code will have getters and setters and even equalization that is desired. At compile time it will be converted to normal Java code. Or if that is too much you can also use
public class Account {
@Getter @Setter
private String name;
@Getter @Setter
private int age;
}
I've watched hours of tutorials on RUclips but this one just clicked with me! Great job, good teacher 👍
Hey ! Alex, I am from India. This comment is to thanks you "This video help me to understand getter & setters easily" , also your bonus tip is just like you nailed it.
Great! The author decided from the very beginning to teach programmers what everyone has been trying to unlearn for about 15 years now: write accessor methods.
You are amazing. I thank God that you made this tutorial because not gonna lie, I need you in my life 💯
13:18
If you are using NetBeans click (Alt + Ins) >> If you are using a LapTop like me, you will find (Ins) in the numbers pad on your right-hand side.
Thank you bro!
Perfect explanations, easy to follow along. I can watch several of your videos and not get bored for even a second ❤
You are the organic chemistry tutor of programming. Thank you!
When my professor introduced our getters/setters lecture, I thought this was about to be a deep lecture in OOP theory. Come to learn, it was all about creating instance methods to return the state of an object or implement some action on it's state within a client program. I wanted to leave after 5 minutes. I'll say though, I'm glad you've gone over this and I think your video is about the right amount of time for any student to understand these fundamental concepts.
I havent seen any other tutorials that explain step by step of what you are doing and why. Thank you!! Youre the besttt
not that I didn't understand what setters and getters are for but I'm glad your youtube channel exists cause my java II professor barely teaches like this at all. Just gives us reading assignments and you basically gotta teach yourself the material
You explained more in the first minute than my damn class and professor did this whole semester. Thank you!
i was so confused about the 'this' parameter but now i know ..........thank you alex for the precise info...love love
You are a live saviour, legit my teacher can't explain for the life of him
your videos are really helping me get through my university programming classes, thank you.
The last tip is a poggers moment.
Alex! thank you; i finally understand setters and getters after watching this :)
My job depends on my java understandings.. I'm lucky I have your videos now..! Thankyou ^_^
Superb I couldn't understand this when my lecturer taught me but after seeing yours I can
Man, now everything makes sense...thank you so much for making these videos :)
Holy crap I'm glad I stuck around for the bonus tip! thanks for the video Alex
Okay since today you're my favorite kind person on earth 💐
I learned all of this through CS Awesome, but your vids had definitely clarified the details of java code and I thank you so much for it
big like for the bonus tip. That saves sooooo much time. Thanks! 🙏🏽🙏🏽🙏🏽
Without your video on how to learn java in 17 minutes I would never had picked up Java TY!
Alex I have watched many videos however you are the best !
You are the master of java. I really love your explanation at the end. Love from INDIA
Dude Thank you so muchhhh for create these videos 🥺❤️❤️ They don't teach us anything at uni . Your videos helped me a lot .Thank you wish you the bests 🙏🏻
That trick using Eclipse to generate the getters and setters was really neat!! Thank you!
I have never been to college so don't know how they teach java. But This guy did a great job for me !
Alex is literally in a class of his own at teaching Java
Thank you very much. I was thinking it's gonna be very hard, but you're teaching very easy.
You are awesome! i am studying CL and Java is my core subject atm and you really do make studying for my assignments easier! Thanks!
You don't know how much this has cleared for me
I'm currently taking this course and to have further knowledge, I watch your free videos. Thank you and please do create more!
i cant believe my course didn't have getters and setters explained and this is such a crucial topic!
My professor didnt explain this to us, but now i have u.
One of my favorite videos you've ever done. Thank you, Alex!!
I'm starting java this semester and I'm trying to wrap my head around OOP. Thank you sooo much So helpful!
Such an hohroble person: you have a very special way to deliver your lessons:
*honorable
I read that as "horrible"
Lol 🤣🤣😂😂
ur videos + codegym = junior
thank u
Finally, someone explained it to me. Thanks, Alex
your RUclips videos is the best Sir.. keep safe
Damn, you explain better than my college techer, what a legend. Keep it up man
Thanks 4 making this really technical.I was so worried youd make this easy.
Thanks a lot ! I actually tried finding a video explaining this keyword and getter and setter for over 4 hours, and I found this now. You actually make concepts a lot easier to understand. And thanks again, I needed this for an assignment.
thank u i was a bit lazy to study but after i saw your vid
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!
thanks bro it helped me a lot to pass my exam thanks bro
Thanks a lot man! You're the best. I finally got this, been struggling with it for quite a while.
amazing explaination and also very fast thank you for this!
Top notch lesson Alex, thanks
Now that I found the best explanation 👌 Thank you Alex so much 🙌🏼
No exaggeration, you really helped me a lot🤗
Couldn't understand the concept but gosh Thank You for the simple and clear explanation!!!
THANK YOU SO MUCH! you're so much better than my current professor in university (no offense to him but I got so frustrated that I didn't get what he said because he keeps over complicating and over explaining his lessons that I got confused) but this is all the lesson had to say ;-;
Alex, you’re the teacher we needed! 👏🏽
not related to java but I LOVE LISTENING YOUR VIDEOS BECAUSE OF YOUR KEYBOARD TOO SO RELAXING (KEYBOARD ASMR)
million thanks, Alex. Your tuts have simplified my study life in Java.
Thanks once again Alex, appreciate all you do for us here on RUclips. Very helpful! :)
am very very much impressed by this am 18 yrs of age thumb up for good work thanks a lo
My finals is in few hours and this definitely helped me understand on why, where and when to use getter and setter. Thank you so much Sir 😭🙏🏻✨
Thanks for this! I've been able to complete my Performance Task. I appreciate you sir!
Can you make a tutorial on abstract classes and interfaces
You are an actual lifesaver
thank you MR. lee you really help me a lot.
Great video again!! 😊👍 But i wonder if you, in the future can make seperate class files for the methods etc...since that is actually how the program has to be stuctured. But by all means, love you videos!!❤
Im second year college BSIT i learned alot in your videos please make more videos...
Hey, just wanna say you're really awesome! Your tutorial really helps and its very easy to understand. My professor's teaching is nowhere near your teaching. I hope you continue to make these videos, thank you so much for these!
Thank you. Your videos are beneficial!
Grateful🙏
Alex you absolutely rock!
Thanks for really sharing , good work with us, am really appreciating the good effort you are putting in. Honestly I have understood the topic well.
Thank you very much Lee
thank u alex lee..your teaching is simple and understanding
Thanks u. I Learned some cool tricks to generate getters and setters.😇
Thank you so much Alex. The best wish for you bro
I'm grateful I found this channel. Thank you very much sir!
I'll be more happy if you make a video for "Different Errors in Java programming and how to fix them" and "Shortcuts and the environment of Eclipse" (cause we can't edit in Photoshop without knowing it's tools right?)
Thank you again sirr!
that shortcut at the end was absolutely insane lol thank you so much
the trick in the end was amazing
You really explain well ! May your channel grow ! Have a nice day ! best of luck !