by Anonymous » 22 Aug 2025, 03:19
Ich erhalte Array -Index in der letzten Zeile des Progs,
generiert dort eine solche Ausnahme. Aber das Gleiche blieb in der vorherigen Schleife normal. < /P>
Code: Select all
{
int ict=66,total_slots=12,h1=15,index_count=65;
String output[][] = new String[ict][total_slots+1];
for (int x = 0; x < (ict); x++)
output[x][0] = Integer.toString(x);
for (int y = 0; y < (total_slots + 1); y++)
output[0][y] = Integer.toString(y);
for (int x = 1; x
Ich erhalte Array -Index in der letzten Zeile des Progs,
[code]output[1][1][/code] generiert dort eine solche Ausnahme. Aber das Gleiche blieb in der vorherigen Schleife normal. < /P>
[code]{
int ict=66,total_slots=12,h1=15,index_count=65;
String output[][] = new String[ict][total_slots+1];
for (int x = 0; x < (ict); x++)
output[x][0] = Integer.toString(x);
for (int y = 0; y < (total_slots + 1); y++)
output[0][y] = Integer.toString(y);
for (int x = 1; x