this Keyword in java
Java defines the this keyword. this can be used inside any method to refer to the current object. That is, this is always a reference to the object on which the method was invoked Example of this keyword Instance Variable Hiding It is illegal in Java to declare two local variables with the same name … Read more