If the name of the method parameter matches the name of your class data item; then, to access the data element, you need to put this. in front of it this. . For example, in the setA() function:
public void setA(int a) { this.a = a; }
Since both the data element and the method parameter are named a , to refer to the data element, you should use this.a In other cases, this is not required.
And, in your case, I donβt think you need to use this , although there is no harm in using it.
tianz source share