this keyword in java  | Java Online Course

This Java Online Course “this keyword in java” explains clearly what is ‘this’ keyword, how to use the keyword, where we use ‘this’ keyword and much more.



  • It is a keyword.
  • It is a pre-defined non static variable.
  • It holds object address.
  • It must be used only in non-static context.


Printing Object address using ‘this’ keyword:


How can we access non-static members from non-static context?
Using ‘this’ keyword.


Share this