package p; //initialize in constructor class A{ private int i; A(){ i= 0; } void f(){ } }