since static variable got memory at the time of class loading,here I am assigning it by creating new A(),which will assign at run time after loading the class.How jvm assign value of new A() at the time of class loading?
public class A{
static A objA =new A();
public static void main(String x[]){}
}
Inside jvm by bill venners