Explain the functioning of “this” Keyword and the concept of Instance Variable Hiding by using “this” keyword in java [closed]
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . I have been learning Java from Java 2: Complete Reference, 5th Edition . I couldn't understand the exact of purpose this keyword and the concept of instance variable hiding. please explain me with example. 回答1: The exact purpose of this is to remove ambiguity from local variable from your field variables. this