Matrice constante? ça existe?

Ourii -  
 Ourii -
Bonjour,

Voici mon code:
{

char[][] matrice1= new char[n][m];

matrice1=.....

final char[][] MATRICE2= matrice1;

//Sauf que ma matrice n'est pas constante, comment je le sais? voilà:

System.out.println(afficheTableau(MATRICE2));

matrice1[1][1]='*';

System.out.println(afficheTableau(MATRICE2));

//Les deux matrices qu'il m'affiche sont differentes...

}


Aidez-moi svp!
A voir également:

1 réponse

Ourii
 
Une âme charitable? C'est très urgent svp... j'en ai besoin pour avancer dans un tp...
0