Can you please help me with below code. The error is: \"Cannot use This in a static context\"
public class Sample2 { /** * @param a
If we try to access this from a static context , compiler has no way to guess which instance, you are referring too. main is a static method here.