class Test { void foo(int i) { i++; } void bar(){ foo(1); } }