controller fini, non testé
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user