Answer Posted / kalai
it can be used to call same class constructor.
it refers current object.
example
public class sample{
int k,l;
sample(int k,int l)
{
this.k = k;
this.l = l;
}
}
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is floating data type?
Why do we use regex?
What is the final field modifier?
What is the use of System class?
What's the difference between comparison done by equals method and == operator?
Is java ee a framework?
How to Sort Strings which are given in List and display in ascending order without using java api.
I want my class to be developed in such a way that no other class (even derived class) can create its objects. How can I do so?
What is generic class?
What is the maximum size of hashmap in java?
What is the difference between Java1.4 and Java1.5
What are the pillars of java?
What is a jagged array in java?
Why are functions called methods in java?
What does mean in regex?