Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- QuestionMaster = {
- "1": "Question 1",
- "2": "Question 2"
- };
- AnswerMaster = {
- "1": "Answer 1",
- "2": "Answer 2"
- };
- return [Question("1")
- .withAnswer(Answer("1"))
- .withAnswer(Answer("2").withNextQuestion("3"))
- .withAnswer(Answer("3").withNextQuestion("4"))
- .withAnswer(Answer("3")),
- Question("2")
- .withAnswer(Answer("1"))
- .withAnswer(Answer("2").withNextQuestion("3"))
- .withAnswer(Answer("3").withNextQuestion("4"))
- .withAnswer(Answer("3"))
- ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement