public class Test { Integer sum(int i, int j) { return i + j; } int foo(int n, int k) { int a; a = sum(n, k); return a; } }