Login
Remember
Register
CodersEditor Q&A
Online IDE
Questions
Unanswered
Tags
Users
Ask a Question
Programming Tutorials
Ask a Question
What is 'this' keyword in Java?
0
votes
asked
Jan 22, 2021
by
PreethiSadhish
(
524
points)
'this' keyword in Java
java
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jan 22, 2021
by
Annie
(
1.1k
points)
This keyword refers to the current object in a method or constructor. The most common use of this keyword is to eliminate the confusion between class attributes and parameters with the same name.
Please
log in
or
register
to add a comment.
Welcome to CodersEditor Q&A, where you can ask questions and receive answers from other members of the community.
239
questions
203
answers
2
comments
692
users
Related questions
What is "This" keyword in java?
What is a copy constructor in Java?
What is inheritance in Java?
What is a classloader in Java?
What is constructor chaining in Java?
...