controller fini, non testé

This commit is contained in:
trochas
2025-10-15 22:31:16 +02:00
parent c5f6fa71b9
commit 8874f38696
12 changed files with 576 additions and 145 deletions

View File

@@ -26,4 +26,19 @@ public class Choix extends Reponse{
}
return res;
}
@Override
public String toString(){
String res ="choix : [";
for (int i = 0; i<this.choix.size(); i++) {
res += this.choix.get(i);
if(i<this.choix.size()-1) res+= ", ";
}
res += "] , reponses : [";
for (int i = 0; i<this.reponses.size(); i++) {
res += this.reponses.get(i);
if(i<this.reponses.size()-1) res+= ", ";
}
return res;
}
}