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