- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
What are the 6 ways to use this keyword in Java?
- this can be used to get the current object.
- this can be used to invoke current object's method.
- this() can be used to invoke current class constructor
- this can be passed as a parameter to a method call.
- this can be passed as a parameter to a constructor.
- this can be used to return the current object from the method.
- Related Articles
- What are all the ways keyword ‘this’ can be used in Java?
- What are the uses of this keyword in java?
- What is the use of this keyword in TypeScript?
- When should I use the keyword ‘this’ in a Java class?
- Is it possible to use this keyword in static context in java?
- This keyword in Java
- Can we use "this" keyword in a static method in java?
- How to work with this keyword in Java?
- What is the use of underscore keyword in Java 9?
- C++ Program to Show Use of This Keyword in Class
- What are the uses of super keyword in java?
- What are various ways to compare dates in Java?
- What are the three usages of the super keyword in Java?
- Can we call methods using this keyword in java?
- What are various ways to compare time values in Java?

Advertisements