Learn Java Tutorial 1.28 – Using "this" in Java

///Learn Java Tutorial 1.28 – Using "this" in Java

Learn Java Tutorial 1.28 – Using "this" in Java

FavoriteLoadingAdd to favorites

The “this” keyword is used quite a bit in java. It mainly refers to the variable of the class instead of a local variable that is passed in via a constructor or a method. We can also use the “this” keyword to call the constructor of the current class. There are also a few different ways we can use “this” but we will get to that later.

Java468x60

Source code | Additional Info for this tutorial:
Hit us up on G+, facebook, or twitter!

Follow us!
————-
Google +:
Facebook:
Twitter:
————-
Jake’s G+ =
Travis’s G+ =

————

Donate: .

Visit Our Friends @ Stone River E-Learning for Additional Tutorials –

Coupon 20% Off HTML & CSS for Beginners –

source

By |2019-07-25T21:22:50+00:00July 25th, 2019|Java Video Tutorials|26 Comments

26 Comments

  1. Smart Programming July 25, 2019 at 9:22 pm - Reply

    superb explanation, keep it up 👍👍🙂🙂🙂

  2. Triparadox Clifford July 25, 2019 at 9:22 pm - Reply

    Why should there be Travis T at the very beginning? Please somebody explain it to me.. I'm total new to this function…

  3. A_Moist_Man July 25, 2019 at 9:22 pm - Reply

    When thenewboston fails to correctly explain this concept, I can always count on you!

    Seriously thank you, this was more than helpful!

  4. A.G. STRANGER Tunisian Author July 25, 2019 at 9:22 pm - Reply

    thank you <3

  5. Bellerophon2200 July 25, 2019 at 9:22 pm - Reply

    Thank you for the tutorial!

  6. Arturo Fernandez July 25, 2019 at 9:22 pm - Reply

    great explanation, feedback: it made all clear at around 2:30 . Thank you!

  7. Neililith July 25, 2019 at 9:22 pm - Reply

    Nice and super clear, please continue making videos 😀

  8. Ein Hacker-Typ July 25, 2019 at 9:22 pm - Reply

    Thanks a lot!

  9. Ricardo Cazares July 25, 2019 at 9:22 pm - Reply

    I understand! Thanks! So basically, when you use the "this" dot notation, it's just saying to look for the instance variables that were declared in the client class?

  10. Mehdi July 25, 2019 at 9:22 pm - Reply

    Thanks!

  11. Ref July 25, 2019 at 9:22 pm - Reply

    this made me understand, thanks !

  12. scvscades July 25, 2019 at 9:22 pm - Reply

    Ah, makes so much more sense now!! Thanks!

  13. realSammyPasta July 25, 2019 at 9:22 pm - Reply

    I haven't been this confused since I was a boyscout. I've watched a few tutorials on this and I still don't get its purpose

  14. Short Circuit July 25, 2019 at 9:22 pm - Reply

    Perhaps it would have been better to create a class called man and create an object called Travis. But very nice tutorial whatsoever 😉

  15. TTTimster July 25, 2019 at 9:22 pm - Reply

    Very well explained, thanks!

  16. SurvivalSquirrel July 25, 2019 at 9:22 pm - Reply

    thizzz izz a bit too fazzt

  17. themba alex khumalo July 25, 2019 at 9:22 pm - Reply

    Thanks now i master this lol

  18. Fritz Mulder July 25, 2019 at 9:22 pm - Reply

    I'm starting to love this. I used to ask "what is that?". Now this makes sense.

  19. freshmoment87 July 25, 2019 at 9:22 pm - Reply

    u are the best java teacher in youtube ,make things much easier to understand,
    thank you so much

  20. GSR600Relaxed July 25, 2019 at 9:22 pm - Reply

    Thanks for This!

  21. Sean Griffin July 25, 2019 at 9:22 pm - Reply

    Very good explanation, thank you.

  22. Dhruv Khurana July 25, 2019 at 9:22 pm - Reply

    THANK YOU SO MUCH I HAVE A FINAL ON WEDNESDAY AND I HAD NO IDEA HOW TO DO THIS <– See what I did there 🙂

  23. mahad moussa July 25, 2019 at 9:22 pm - Reply

    thank you so much for your tutorial,it is helpful!

  24. ganxe July 25, 2019 at 9:22 pm - Reply

    thanks bro

  25. nebbalf July 25, 2019 at 9:22 pm - Reply

    Man you're a life saver. Exam is coming up in 3 days, and I tell you. I've learned more from your tutorials than I have from my teachers this whole semester. Partly because I have been slacking a bit too much, but also in huge part to their awful lectures. You on the other hand put things in ways that are much easier to grasp and understand. Thank you! 

  26. Lofty - July 25, 2019 at 9:22 pm - Reply

    Confusing.

Leave A Comment

*