class Test { void foo() { int i = newMethod(); System.out.println(i); } private int newMethod() { int j = 0; int i = 0; j = 9; return i; } }