reorganisation + hashmap

This commit is contained in:
Debucquoy
2023-04-26 11:24:13 +02:00
parent c561eda0cf
commit 454ac6e17e
37 changed files with 162 additions and 0 deletions

View File

@ -0,0 +1,21 @@
public class Question {
private String text;
private String response;
private String user_input;
public Question(text, response){
this.text = text;
this.response = response;
}
public void Poser(){
Scanner resp = new Scanner(System.in);
System.out.println(text + ": ")
user_input = resp.nextLine();
}
public boolean Verifier(){
return user_input == response;
}
}