update
This commit is contained in:
5
DEV.3.1/TP/TP4/ex2Quiz/src/Main.java
Normal file
5
DEV.3.1/TP/TP4/ex2Quiz/src/Main.java
Normal file
@@ -0,0 +1,5 @@
|
||||
public class Main {
|
||||
public static void main(String[] args) {
|
||||
|
||||
}
|
||||
}
|
14
DEV.3.1/TP/TP4/ex2Quiz/src/Modele/Question.java
Normal file
14
DEV.3.1/TP/TP4/ex2Quiz/src/Modele/Question.java
Normal file
@@ -0,0 +1,14 @@
|
||||
public class Question {
|
||||
|
||||
private String[] operation;
|
||||
private int operand;
|
||||
|
||||
public Question() {
|
||||
this.operation[] = {" + "," - "," x "," / "};
|
||||
|
||||
}
|
||||
public int choixOperand() {
|
||||
System.out.println("coucou manu");
|
||||
return this.operand;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user