int[] numeros = new int[5]; for (int i = 0; i < numeros.length; i++) { numeros[i] = 10; } incrementar(numeros); System.out.println(numeros[3]); // 11 . . . . . . public void incrementar(int[] valores) { for (int i = 0; i < valores.length; i++) { valores[i]++; } }