#42 This keyword in Java

  Рет қаралды 161,101

Telusko

Telusko

Күн бұрын

Пікірлер: 65
@karthi7490
@karthi7490 7 ай бұрын
bro used entire 9 minutes just to define a single keyword , this shows he wants us to learn deeply 🙇🔥
@sai_teja_ig
@sai_teja_ig 3 ай бұрын
while learning java i had realised that java is easier than java script bcoz in java script to explain the this keyword it will take easily an hour.
@adyan4010
@adyan4010 16 күн бұрын
@@sai_teja_ig java and javascript are completely different so why compare?
@karthikplays69
@karthikplays69 8 ай бұрын
00:02 Understanding the 'this' keyword in Java 01:14 In Java, the stack memory and heap memory are used for different purposes. 02:27 Local and instance variables with the same name in Java 03:43 Assigning a variable to itself in Java can lead to unexpected behavior. 04:55 In Java, 'this' refers to the current object instance. 06:04 Creating a new object may cause issues with assigning values. 07:19 Passing object references and differentiating between instance and local variables in Java 08:36 The 'this' keyword represents the current object in Java
@abhirathour6682
@abhirathour6682 2 ай бұрын
thanks brother ...
@Viralvlogvideos
@Viralvlogvideos Жыл бұрын
I was learning java for project requirement and this video saved my life to understand this in java it is weird but understood :) No one can escape this three languages in their life java, python and js
@danl8994
@danl8994 3 ай бұрын
Excellent way of teaching. Pushes us to wrong path only to make us understand the right path. Thank you.
@immadisettivarun
@immadisettivarun Жыл бұрын
Amazing Explanation sir. Trying out different possibilities and explaining really nice
@sandybeast07_sb
@sandybeast07_sb 4 ай бұрын
Iam here from JS and i know the function of this keyword but when i was a beginner it was a huge headache for me. But after this video I can clearly state that Navin reddy sir aka telusko is one of the best teacher ever. Genius, the way he explained about this keyword..
@vishalrohera4328
@vishalrohera4328 6 ай бұрын
I watched many videos to understand how this keyword works, but none of them helped me. This video cleared all my doubts and questions. Thank you, sir, for this lecture!
@sahinsevinc41
@sahinsevinc41 11 ай бұрын
The best Java teacher I have ever seen. Explanations, Examples are perfect
@Headcator
@Headcator Жыл бұрын
Your way of explaining things is fantastic. Thank you.
@HishamMohammed-gh7eh
@HishamMohammed-gh7eh Жыл бұрын
Like me a person love details and how things works. I watched alot of tutorials about java and difficult topics like consturtor and this keyword,implicitly I understand it but I can't move without understanding initial way for things work. Your explaining with more fantastic details and different way, you are amazing . Thank you alot my teacher
@1stGames
@1stGames 2 ай бұрын
superb, i will never ever forget this keyword again, Thank you
@Yashila_Jonnada
@Yashila_Jonnada Жыл бұрын
Best explanation ever! I can't thank you enough for these amazing tutorials sir.
@darswayeeyou
@darswayeeyou Жыл бұрын
THIS is the only time I have ever understood the THIS keyword. Thank you so much!! So does that mean that the This keyword is only used in NON-STATIC methods?
@neboeleyazer4186
@neboeleyazer4186 3 ай бұрын
public void setAge(int age, Human obj) { obj.age = age; } also works instead of creation a new object
@NileshNath-vb4fp
@NileshNath-vb4fp 27 күн бұрын
He said that too, you missed it ig
@shiNji_hingy
@shiNji_hingy Ай бұрын
finally understood the true meaning of "this"
@VarunGowda-ho2rm
@VarunGowda-ho2rm 6 ай бұрын
This video shows your passion towards teaching, great work sir, I'm impressed 👏🏼
@CHALLENGESTORY
@CHALLENGESTORY Жыл бұрын
bro why do you look so humble ❤️ thanks for the videos anna..!!
@sathya8242
@sathya8242 Жыл бұрын
Thanks a ton sir, now the confusion got cleared for me for THIS keyword…. Your explanation is irreplaceable…🥰🥰🥰🥰🥰
@ManishTamrakar-w7j
@ManishTamrakar-w7j 4 ай бұрын
I literally clapped when this was used at last
@raghukumar8184
@raghukumar8184 Жыл бұрын
hi Navin , pls make a video on passing this keyword into methd arguements and passing this keyword as arguments in parameterised constructors
@faheelansari7353
@faheelansari7353 4 ай бұрын
Can we say that constructor return this that is why we can use to access instance variable Like Human obj = new Human(); //Human(); It is constructor call
@vicks3258
@vicks3258 5 ай бұрын
Wow great concept Thanks you so much❤
@heytanibhi
@heytanibhi Жыл бұрын
Thankyou sir ❤ keep teaching us like this. More respect to you sir.
@Luffy_2804
@Luffy_2804 Жыл бұрын
best explanation quality content fr🙂
@technocratsworld214
@technocratsworld214 8 ай бұрын
brilliant explanation
@souvikkundu
@souvikkundu Жыл бұрын
Perfectly explained. Thank you.
@vihangjoshi7525
@vihangjoshi7525 Жыл бұрын
Great way of explanation
@TreatsNTravelsByJaaiPawar
@TreatsNTravelsByJaaiPawar Жыл бұрын
Grateful for this Playlist ...thank you!
@atulsolanki2519
@atulsolanki2519 Жыл бұрын
Excellent explanation ,thanks😊
@smrpkrl
@smrpkrl Жыл бұрын
Hey Navin sir! Your fan from Nepal!
@SumanMondal-gv8bi
@SumanMondal-gv8bi 8 ай бұрын
Thanks for the explaination Sir.
@Kaviarasu_NS
@Kaviarasu_NS 9 ай бұрын
I really helped me in understanding this, thanks ❤
@MaxChan-zw8cx
@MaxChan-zw8cx 3 ай бұрын
you are excellent at java concepts
@sivadon4065
@sivadon4065 Жыл бұрын
Happy teacher's day sir🎉🎉🎉
@contactnehajain
@contactnehajain Ай бұрын
beautifully explained by going wrong ways.. no one can ever forget this
@Telusko
@Telusko Ай бұрын
Learning by mistakes is the best way 😉
@TECHWITHKAMALRAJ
@TECHWITHKAMALRAJ 4 ай бұрын
Java means Telusko ❤
@3lpme
@3lpme 4 ай бұрын
Can anyone one help me to understand ? I didn't understand at this "when we call age function we are passing the value ?👀 But why the heck we did we get zero, what's happening if we mention local and instance variable as same name ?
@Vardanaggarwal
@Vardanaggarwal Ай бұрын
Amazing.
@sankarsubramanian6312
@sankarsubramanian6312 Жыл бұрын
Thanks Naveen 🔥 Big fan 💥
@nithintjoy6742
@nithintjoy6742 Жыл бұрын
one doubt, if we are not using this key word and just using two different variable names..will it work?
@karots77
@karots77 10 ай бұрын
yeah it will work
@sadhanarealty
@sadhanarealty 9 ай бұрын
Take simple example
@jatinsharma3792
@jatinsharma3792 11 ай бұрын
What do you mean by the current object !?
@karots77
@karots77 10 ай бұрын
I think you are asking it for this keyword am I correct? if that is your question, Then whenever you create an object it cannot use the variable directly so we need to use methods to access it, when you create an object to modify those values using methods those object are the current object for the "this" keyword (this is not a correct answer this is what i understand so far)
@jatinsharma3792
@jatinsharma3792 10 ай бұрын
No, I sometimes didn't get what he meant, :D I understood about this keyword, I know It refer to the current class object, we use in many ways, for builder pattern and for constructor to set the values so we define it and distigawise between local and global var, I don't care much much he don't explain the internal thing, so for refresh it is fine but not for the real knowledge. @@karots77
@syedadil7256
@syedadil7256 Жыл бұрын
Lil bit confusion sir.
@CHALLENGESTORY
@CHALLENGESTORY Жыл бұрын
line 30 obj.setAge(age: 30); // how did he type this inside the bracket--> age:
@Telusko
@Telusko Жыл бұрын
Inlay hints added by vs code (not a part of the code) Not written by me.
@CHALLENGESTORY
@CHALLENGESTORY Жыл бұрын
@@Telusko oh, I'm learning java using Eclipse which is why I was unaware..thanks bro..
@Vinaygoud1264
@Vinaygoud1264 Жыл бұрын
Super sir
@MahidharYouTube
@MahidharYouTube 5 ай бұрын
varayyo vammo...entha baga cheppav babai.
@ShubhamVerma-nu3ze
@ShubhamVerma-nu3ze Жыл бұрын
great teacher love you
@0shaad
@0shaad Жыл бұрын
we cant call local variable outside of its local context
@mr.explorer9502
@mr.explorer9502 2 ай бұрын
why to use same name for variables use different and all problems solved
@ragul5679
@ragul5679 2 ай бұрын
thank god kadavul one ha padachan da 4 lakhs wasted on college
@pradeepdeeps2832
@pradeepdeeps2832 11 ай бұрын
That's a lot of THIS😂
@someshwarreddy8463
@someshwarreddy8463 5 ай бұрын
@sarthak-salunke
@sarthak-salunke Жыл бұрын
🙏❣
@rounaksingh3255
@rounaksingh3255 Жыл бұрын
sir khud he kyu padh rahe ho
#43 Constructor in Java
7:05
Telusko
Рет қаралды 190 М.
#51 This and Super Method in Java
12:11
Telusko
Рет қаралды 129 М.
99.9% IMPOSSIBLE
00:24
STORROR
Рет қаралды 14 МЛН
Accompanying my daughter to practice dance is so annoying #funny #cute#comedy
00:17
Funny daughter's daily life
Рет қаралды 25 МЛН
Чистка воды совком от денег
00:32
FD Vasya
Рет қаралды 4,9 МЛН
#40 Encapsulation in Java
11:42
Telusko
Рет қаралды 205 М.
USAGE OF THIS KEYWORD - JAVA PROGRAMMING
11:12
Sundeep Saradhi Kanthety
Рет қаралды 104 М.
South Korea’s president declares emergency martial law
12:04
Al Jazeera English
Рет қаралды 233 М.
South Korean National Assembly rejects President’s martial law declaration
18:53
This Keyword in Java Full Tutorial - How to Use "this"
7:39
Coding with John
Рет қаралды 156 М.
All Rust string types explained
22:13
Let's Get Rusty
Рет қаралды 185 М.
#52 Method Overriding in Java
7:57
Telusko
Рет қаралды 163 М.
#26 Stack And Heap in Java
12:37
Telusko
Рет қаралды 286 М.