Many times, we uses the variable name of the method's argument which is similar to the class's property. To identify the current object's property "this" keyword is used in object oriented programming. The "this" keyword denotes a predefined object handle that refers to the object that was used to invoke the subroutine that "this" is used within.
int incr_id = 0;
function void set_incr(int incr_id);
this.incr_id = incr_id;
function int get_incr();
id_1 = new();
"this" keyword can not be used in static class methods as it refers to the instance of the class. It will give compilation error.