Bonsoir,

je ne parviens pas à créer une boucle qui incrémenterait le nom des mes tableaux.
Exemple du code sans trop réfléchir :

---------------------------------------------------------------------
String toto1[] = new String [8];
String toto2[] = new String [8];
String toto3[] = new String [8];
String toto4[] = new String [8];
String toto5[] = new String [8];
...
String toto20[] = new String[20];

...//ici la partie du code qui remplie les tableaux

sortie.print(toto1[2]);
sortie.print(toto2[2]);
sortie.print(toto3[2]);
sortie.print(toto4[2]);
sortie.print(toto5[2]);
sortie.print(toto6[2]);
sortie.print(toto7[2]);

sortie.flush();
sortie.close();

-------------------------------------------------------

Je souhaite donc éviter de devoir lister toutes les tableaux "manuellement". Surtout qu'à la fin je ne suis pas sur de me limiter à 20 tableaux.

Merci pour votre aide,

Alunix