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 function extracts specified characters from a string?
What is difference between static and abstract class?
What is integer valueof?
What will happen if there is a default method conflict as mentioned above and we have specified the same signature method in the base class instead of overriding in the existing class ?
What is a native method in java programming?
describe method overloading
What is pojo class in java?
Which number is denoted by leading zero in java?
Can size_t be negative?
How do you join strings in java?
What is qms certification?
Can we convert stringbuffer to string?
How can you read content from file in java?
What is an example of declaration?
What the difference is between execute, execute Query, execute Update?