class Test { void test(){ System.out.println(1 + newMethod()); } private int newMethod() { return 2 + 3; } }