Pregunta de entrevista de Kellton

difference between this and static

Respuesta de la entrevista

Anónimo

25 de oct de 2022

The this keyword is used as a reference to an instance. Since the static methods don't have (belong to) any instance you cannot use the this reference within a static method.