
Relleno de array bidimensional - Java
Podcast von Jorge Hurtado
Ejemplo de como rellenar array bidimensional
Nimm diesen Podcast mit
Alle Folgen
1 Folgen
Relleno de arrays
int contenido[][] = new int[4][5]; int k = 0; for (int i = 0; i < contenido.length; i++) { //1er array for (int j = 0; j < contenido[i].length; j++) { //2nd array contenido[i][j] = k; k++; System.out.println(contenido[i][j]+ " "); System.out.println(); //creacion de valores (tambien podemos mostrarlo // ahi } } // muestra de valores for (int i = 0; i < contenido.length; i++) { for (int j = 0; j < contenido[i].length; j++) { System.out.println(contenido[i][j]+ " "); System.out.println(); } }
06. Juni 2021 - 3 min

App downloaden & deine Podcasts überall hören
Super gut, sehr abwechslungsreich Podimo kann man nur weiterempfehlen
Super gut, sehr abwechslungsreich Podimo kann man nur weiterempfehlen
Ich liebe Podcasts, Hörbücher u. -spiele, Dokus usw. Hier habe ich genügend Auswahl. Macht 👍 weiter so