From df779a87ba55bb388da447260f45f9d3024598f1 Mon Sep 17 00:00:00 2001 From: JunkJumper Date: Mon, 23 Sep 2019 08:15:46 +0200 Subject: [PATCH] fix ';' and change type from String to int (matching attributes) --- NGCC/src/config/Question.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/NGCC/src/config/Question.java b/NGCC/src/config/Question.java index 4898113..b6337fc 100644 --- a/NGCC/src/config/Question.java +++ b/NGCC/src/config/Question.java @@ -18,7 +18,7 @@ public class Question { public Question(String t, boolean b, int n) { titre = t; multiple = b; - coeff = n + coeff = n; } public ArrayList getReponses() { @@ -29,7 +29,7 @@ public class Question { this.reponses = reponses; } - public String getCoeff() { + public int getCoeff() { return coeff; }