public class Test2{
public int aMethod(){
static int i=0;
i ++;
return i;
}
public static void main(String args[]){
Test2 test = new Test2();
test.aMethod();
int j = test.aMethod();
System.out.println(j);
}
}