Sat. Dec 7th, 2019

Host your Website

Read and learn

FatCow Web Hosting $1.00/mo* Trust your web hosting to the #1 web host provider, GoDaddy!

Getters and Setters – Learn Getters and Setters in Java

1 min read

Getters and setters let you set/get private variables in a class with methods.

Get 7 Free Tips on How To Think Like a Programmer:

Learn java in just 14 minutes:

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 tutorial on getters and setters in java! 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?

Coding gear I use:
My self-improvement YouTube channel:



Alex Lee

37 thoughts on “Getters and Setters – Learn Getters and Setters in Java

  1. 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!

  2. best person who explained the getters and setters ever, thank you so much after watching your video i realised that my teacher cant teach pretty well lol

  3. Hey Alex, big fan! I was wodering if i could interview you for a high school project. The interview is about your career, how you got there and etc.
    If possible please reply back THANK YOU!

  4. 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.

  5. Awesome tutorial once again, can you do a video on FileIO, with stuff like Scanner and PrintWriter? Currently learning that in college and its got me a bit confused. Thanks!

  6. 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.

  7. hello Alex, I am Lamont. I have to take a javascript class this coming January 2020 .I am asking  from you if you can give me some directions like experience that you may have if so that possibly I can gain more knowledge towards being more expreinced .Thanks

Comments are closed.

Copyright © All rights reserved. | Newsphere by AF themes.