“this” keyword in java with examples
We will see the usage of “this” keyword one by one with examples – “this” keyword refers to current class instance variables When local variable and parameter variable are of same name, then “this” keyword is used to distinguish in between them. local / parameterised variable hides the instance variable values called as variable hiding.…