Please enable JavaScript to use CodeHS

CodeHS Glossary


this Java

The this keyword is a reference to the current object (the current instance).

The this keyword can be used to make it very clear that you are referring to the current instance, or to resolve naming conflicts between instance variables and parameters.