public class X { int f() { System.out.println(i); i++; } }