| Six place where we can use this keyword in Java?
Below are the six places where we can use this keyword in Java.
(1)this keyword can be used which can return the current class instance from the method.
(2)we can use this keyword to refer to the current class instance variable.
(3)We can use this keyword to invoke current class method (implicitly)
(4)We can use this() keyword to invoke the current class constructor.
(5)We can use this keyword which can be passed as an argument in the method call.
(6)We can use this keyword which can be passed as an argument in the constructor call. | | |