Made it so that you can enter custom message for each riddler object

This commit is contained in:
Luca Carnegie
2019-05-29 21:16:36 -04:00
parent 52c383a482
commit 657b859686
5 changed files with 84 additions and 61 deletions

View File

@@ -5,8 +5,8 @@ public class Riddle {
private String answer;
public Riddle() {
this.question = "The quick brown fox jumped over the lazy dog";
this.answer = "Okay";
this.question = "Why did the chicken cross the road?";
this.answer = "I'm not going through this again.";
}
public Riddle(String question, String answer) {