SAlut!
Je veux savoir comment faire pour tester si une case dans ce tableau est non vide
J'ai fais ça mais ça marche pas!!Code:Client [] clients=new Client[100];
Code:
1
2
3
4
5
6
7
8 int i; while(i<clients.length) { if (clients[i]!=null) {System.out.println("Vide" );} i++; }
Le probléme est dans ce test:
Code:if (clients[i]!=null)