Consider the following Java class declaration:
public class Test { private final int defaultValue = 10; private int var; public Test() {
constructor is called at the time of object creation so no reference to varable is recognized by compiler as compiler has no knowledge regarding instance variable as object is not created yet.