Suppose I have the following code:
public class Everything{
public static int answer = 42;
public int getAnswer(){
return this.answer;
}
}
Technically-speaking, this.answer
doesn't actually exist, but the compiler lets us off with a warning. Why don't we get a compile error instead?