public class Test {
int count = 21;
public void count() {
System.out.println(++count);
}
public static void main(String args[]) {
new Test().count();
new Test().count();
}
}
22 23
21 22
22 22
21 23