#42 This keyword in Java

  Рет қаралды 160,174

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 13 күн бұрын
@@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 ...
@danl8994
@danl8994 3 ай бұрын
Excellent way of teaching. Pushes us to wrong path only to make us understand the right path. Thank you.
@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
@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..
@sahinsevinc41
@sahinsevinc41 11 ай бұрын
The best Java teacher I have ever seen. Explanations, Examples are perfect
@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!
@neboeleyazer4186
@neboeleyazer4186 2 ай бұрын
public void setAge(int age, Human obj) { obj.age = age; } also works instead of creation a new object
@NileshNath-vb4fp
@NileshNath-vb4fp 24 күн бұрын
He said that too, you missed it ig
@1stGames
@1stGames 2 ай бұрын
superb, i will never ever forget this keyword again, Thank you
@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 👏🏼
@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?
@Yashila_Jonnada
@Yashila_Jonnada Жыл бұрын
Best explanation ever! I can't thank you enough for these amazing tutorials sir.
@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
@Headcator
@Headcator Жыл бұрын
Your way of explaining things is fantastic. Thank you.
@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
@CHALLENGESTORY
@CHALLENGESTORY Жыл бұрын
bro why do you look so humble ❤️ thanks for the videos anna..!!
@ManishTamrakar-w7j
@ManishTamrakar-w7j 3 ай бұрын
I literally clapped when this was used at last
@vicks3258
@vicks3258 5 ай бұрын
Wow great concept Thanks you so much❤
@raghukumar8184
@raghukumar8184 Жыл бұрын
hi Navin , pls make a video on passing this keyword into methd arguements and passing this keyword as arguments in parameterised constructors
@sathya8242
@sathya8242 Жыл бұрын
Thanks a ton sir, now the confusion got cleared for me for THIS keyword…. Your explanation is irreplaceable…🥰🥰🥰🥰🥰
@technocratsworld214
@technocratsworld214 7 ай бұрын
brilliant explanation
@souvikkundu
@souvikkundu Жыл бұрын
Perfectly explained. Thank you.
@Luffy_2804
@Luffy_2804 Жыл бұрын
best explanation quality content fr🙂
@heytanibhi
@heytanibhi Жыл бұрын
Thankyou sir ❤ keep teaching us like this. More respect to you sir.
@Kaviarasu_NS
@Kaviarasu_NS 9 ай бұрын
I really helped me in understanding this, thanks ❤
@SumanMondal-gv8bi
@SumanMondal-gv8bi 8 ай бұрын
Thanks for the explaination Sir.
@vihangjoshi7525
@vihangjoshi7525 Жыл бұрын
Great way of explanation
@TreatsNTravelsByJaaiPawar
@TreatsNTravelsByJaaiPawar Жыл бұрын
Grateful for this Playlist ...thank you!
@atulsolanki2519
@atulsolanki2519 Жыл бұрын
Excellent explanation ,thanks😊
@MaxChan-zw8cx
@MaxChan-zw8cx 3 ай бұрын
you are excellent at java concepts
@smrpkrl
@smrpkrl Жыл бұрын
Hey Navin sir! Your fan from Nepal!
@sivadon4065
@sivadon4065 Жыл бұрын
Happy teacher's day sir🎉🎉🎉
@TECHWITHKAMALRAJ
@TECHWITHKAMALRAJ 4 ай бұрын
Java means Telusko ❤
@contactnehajain
@contactnehajain Ай бұрын
beautifully explained by going wrong ways.. no one can ever forget this
@Telusko
@Telusko Ай бұрын
Learning by mistakes is the best way 😉
@Vardanaggarwal
@Vardanaggarwal Ай бұрын
Amazing.
@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
@sankarsubramanian6312
@sankarsubramanian6312 Жыл бұрын
Thanks Naveen 🔥 Big fan 💥
@sadhanarealty
@sadhanarealty 9 ай бұрын
Take simple example
@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
@ShubhamVerma-nu3ze
@ShubhamVerma-nu3ze Жыл бұрын
great teacher love you
@syedadil7256
@syedadil7256 Жыл бұрын
Lil bit confusion sir.
@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 ?
@Vinaygoud1264
@Vinaygoud1264 Жыл бұрын
Super sir
@0shaad
@0shaad Жыл бұрын
we cant call local variable outside of its local context
@MahidharYouTube
@MahidharYouTube 5 ай бұрын
varayyo vammo...entha baga cheppav babai.
@someshwarreddy8463
@someshwarreddy8463 5 ай бұрын
@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..
@ragul5679
@ragul5679 2 ай бұрын
thank god kadavul one ha padachan da 4 lakhs wasted on college
@pradeepdeeps2832
@pradeepdeeps2832 11 ай бұрын
That's a lot of THIS😂
@mr.explorer9502
@mr.explorer9502 2 ай бұрын
why to use same name for variables use different and all problems solved
@sarthak-salunke
@sarthak-salunke 11 ай бұрын
🙏❣
@rounaksingh3255
@rounaksingh3255 Жыл бұрын
sir khud he kyu padh rahe ho
#43 Constructor in Java
7:05
Telusko
Рет қаралды 189 М.
#51 This and Super Method in Java
12:11
Telusko
Рет қаралды 128 М.
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 70 МЛН
How Many Balloons To Make A Store Fly?
00:22
MrBeast
Рет қаралды 164 МЛН
Players push long pins through a cardboard box attempting to pop the balloon!
00:31
Smart Sigma Kid #funny #sigma
00:33
CRAZY GREAPA
Рет қаралды 28 МЛН
#40 Encapsulation in Java
11:42
Telusko
Рет қаралды 204 М.
P19 - This keyword in Java | Core Java |
12:56
H Y R Tutorials
Рет қаралды 17 М.
What Is Abstraction in Computer Science
6:24
Codexpanse with Rakhim
Рет қаралды 97 М.
Dependency Injection, The Best Pattern
13:16
CodeAesthetic
Рет қаралды 887 М.
This is the Only Right Way to Write React clean-code - SOLID
18:23
This Keyword in Java Full Tutorial - How to Use "this"
7:39
Coding with John
Рет қаралды 156 М.
#37 Static Variable in Java
7:06
Telusko
Рет қаралды 176 М.
USAGE OF THIS KEYWORD - JAVA PROGRAMMING
11:12
Sundeep Saradhi Kanthety
Рет қаралды 104 М.
#61 Abstract Keyword in Java
12:09
Telusko
Рет қаралды 176 М.
Learn JSON in 10 Minutes
12:00
Web Dev Simplified
Рет қаралды 3,2 МЛН
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 70 МЛН