67. This Keyword And Variable Hiding Example

Woah, wait a second..

This video shows an example of this keyword in Java. Use ‘this’ keyword to access non-static variables and non-static methods within the same class. This keyword can be used to call other constructors in the same class. The video also shows the difference between static variable hiding and instance variable hiding.