| 1 | class ArrayInter2 { |
| 2 | |
| 3 | public static void main(String[] args) { |
| 4 | int[] a = new int[1]; |
| 5 | set(a, 0, 777); |
| 6 | int x = get(a, 0); |
| 7 | } |
| 8 | |
| 9 | static void set(int[] arr, int i, int v) { |
| 10 | arr[i] = v; |
| 11 | } |
| 12 | |
| 13 | static int get(int[] arr, int i) { |
| 14 | return arr[i]; |
| 15 | } |
| 16 | } |
nothing calls this directly
no outgoing calls
no test coverage detected