The role of java this

this:

Duplicate names distinguish member variables and local variables, this.name refers to the class member variable, rather than internal method

Guess you like

Origin www.cnblogs.com/lxc-study/p/11567600.html