blob: e8a96127f4fdb8ca51f964b9b10d1acf622a0989 [file] [log] [blame]
/**
* Created by IntelliJ IDEA.
* User: db
* Date: Nov 15, 2004
* Time: 5:40:02 PM
* To change this template use File | Settings | File Templates.
*/
public class Test {
int sum(int i, int j) {
return i + j;
}
int[] foo(int n, int k) {
int[] a = new int[] {1, 2, 3, 4};
for (int i = 0; i < a.length; i++) {
a[i] = sum(i, k);
}
return a;
}
}