What is 'self' or 'this' keyword?
What is 'self' or 'this' keyword?
Approach: Define reference to current instance.
A keyword used in many object-oriented languages to refer to the current instance of the class in which the code is executing.
Follow-up: Is 'this' keyword optional in Java?
Key concepts: object instance, context.