Si queremos inicializar un Array de Strings, ints, etc.... se hará:
int[] numeros={2, -4, 15, -25};
String[] nombres={"Juan", "José", "Miguel", "Antonio"};
String[][] arrays = { array1, array2, array3, array4, array5 };
String[][] arrays = new String[][] { array1, array2, array3, array4, array5 };
Comentarios