This keyword in java is used to refer the current object inside a method or a constructor. We might have same variable names inside a class, using ‘this’ keyword we can refer the current method’s variable.