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
In the below example, how many string objects are created?
Why java is said to be pass-by-value ?
Explain different types of thread priorities ?
What is instance example?
What is the full form of jpeg?
Is java ee a framework?
What is singletonlist in java?
What is meant by class?
What are internal and external variables?
Can we sort array in java?
Can private class be inherited in java?
What is the purpose of sizeof operator?
What is time complexity java?
Are arrays primitive data types?
How to read and write image from a file ?