What are the uses of ‘this’ operator.
Answers
Answered by
1
Answer:
The various usages of 'THIS' keyword in Java are as follows: It can be used to refer instance variable of current class. It can be used to invoke or initiate current class constructor. It can be passed as an argument in the method call.
Explanation:
please mark me in brainly list
Answered by
1
Answer:
this is refer to the current object it method is being called upon we can use this to avoid naming conflict in method
Similar questions
Hindi,
3 months ago
Business Studies,
3 months ago
Geography,
11 months ago
Social Sciences,
11 months ago