Sir am really very thankful for you, am following your channel for java subject. I got a grip on java by listening to your lectures.its really good sir.
As display method is in same class why we created object for display method and called using using object. Can we call display method without creating object??
I understood the concept that this keyword is used to access instance variable inside a function. But, I could not understand the definition - it represents instance variable of current object, but there is no object there is class and class has instance variable.. and we use that instance variable of class inside method using this keyword.. so is it ok to say it represent instance variable of current class ...?? 2) what do u mean by current object
Sir I want to learn collections form your way plz , if your free give me the knowledge of collection framework. The way of your explanation nice we won't miss following concepts as well as
Sir I have any doubts in programming language I watch u r viedos only,u r explanation is super sir but sir while recording the video the brightness is suddenly increasing and suddenly decreaseing sir white board kadha so brightness increase ienapudu aa letter em kanipichatam ledu sir sarega adhi kuncham problem ga undhi sir
In the class we have declared the variable outside the display method. How are we accessing the variable without creating the object. Please clear my confusion.
for this program iam getting the local variable as output for both statements as 200, where the code i writen wrong sir ThisDemo { int a=10; void usingthis(){ a=200; System.out.println("instance variable="+this.a); System.out.println("local variable is="+a); } } public class Main{ public static void main(String[] args){ ThisDemo is=new ThisDemo(); is.usingthis(); } }
Sir u are no less than a scientist. Huge favor u doing on students like us.
Amazing 🙏🙏🙏🙏 tq a bunch sir, explanation 🤐🤐🤐
clear explanation about this keyword tq sir
thank you sir😊
Sir am really very thankful for you, am following your channel for java subject. I got a grip on java by listening to your lectures.its really good sir.
In love with your videos ...keep on going sandeep ji❤
Thanks TH-cam for giving this sir on top of search.
Thanks sir for made this video.
beautifully explained .....
Excellent Sandeep. So easy to learn Java concepts with you. You really have great command over Java
Spr sir
such a clear explanation,thank you so much sir
brilliant sir
Super explained
Superb sir
Good work
Nice explanation.. even though I'm new to Java understood it easily... thank you sir🙏
Thank you so much 🙏
thanks
holy shit !!!!!!!. I just got understand everything . wow omg
amazing sir 💕
Sir I need explanation for this keyword in method level,constructor level
thanku sir
Sir u are god
Nice sir
thank u so much for ur explain. ..I was very confusing about this keyword...sir
As display method is in same class why we created object for display method and called using using object. Can we call display method without creating object??
Understood...thanks so much
I understood the concept that this keyword is used to access instance variable inside a function. But, I could not understand the definition - it represents instance variable of current object, but there is no object there is class and class has instance variable.. and we use that instance variable of class inside method using this keyword.. so is it ok to say it represent instance variable of current class ...?? 2) what do u mean by current object
More love..
Your channel should grow
👌👌👌
Thank you sir
thankyou very much sir :)
Tq u sir
Thank you sir. 😊
Sir I want to learn collections form your way plz , if your free give me the knowledge of collection framework.
The way of your explanation nice we won't miss following concepts as well as
sir in program we have used instance variable
then why we are not created object to the instance variable
Sir I have any doubts in programming language I watch u r viedos only,u r explanation is super sir but sir while recording the video the brightness is suddenly increasing and suddenly decreaseing sir white board kadha so brightness increase ienapudu aa letter em kanipichatam ledu sir sarega adhi kuncham problem ga undhi sir
Thisdemo obj is necessary for it sir
Sir is this possible to access instance variables without object?
No, pls. listen video . 01:17
what will happen if we want to print the system.out.println(obj.a) in the main class?
10
sir please explain about aggregation concept in java
In the class we have declared the variable outside the display method. How are we accessing the variable without creating the object. Please clear my confusion.
That is non static variable..
Non static variables are directlt accesed by using variable name
sir u r a very good teacher..pls help me what is object passing as a parameter and callby value and call by refernece pls help me sir
Can we print by. Writing main method in another class
♥ u sir
♥
We can create a lot of objects of class. Which object is current object ? I am confused
Sir, you said that we need to create an object to access instance variables, but you didn't create . Can you please clarify my doubt.
Baaa cheppav anna
sir
we always have option to use different names for different variables
then un this case why using same name for separate variable?
Sir, is self in Python is same or different as this in java.
Sir,I need examples of this keyword
is there any other uses of this key word in Java?
Sir, this keyword is can be used implicitly and also explicitly. Pls can you explain this clearly
for this program iam getting the local variable as output for both statements as 200, where the code i writen wrong sir ThisDemo {
int a=10;
void usingthis(){
a=200;
System.out.println("instance variable="+this.a);
System.out.println("local variable is="+a);
}
}
public class Main{
public static void main(String[] args){
ThisDemo is=new ThisDemo();
is.usingthis();
}
}
Sir why constructor name same as the class name
always this keyword starts with small 't'
Sem 5 presentation 2023 December
Thank u sir