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 must a class do to implement an interface in java programming?
Differences between C and Java?
What technique can be employed to compare two strings?
Explain the importance of thread scheduler in java?
What is try-with-resources in java?
Should you use singleton pattern?
what is deadlock? : Java thread
Which are different kinds of source code?
What are different types of states exist for a thread?
What are basic data types?
What happens when I use / and % with a negative numerator?
What is complexity and its types?
How java is similar to c?
In java how do we copy objects?
What is finally block?