Is it possible to use this in static blocks?
Ask by Hemant Patel
Updated 22 Sep 2020
No, it's not possible to use this keyword in the static block, because there is no object instance in a call of a static method and also 'this' refers to the object instance.