Advertisement
Guest User

Untitled

a guest
Apr 29th, 2016
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. QuestionMaster = {
  2. "1": "Question 1",
  3. "2": "Question 2"
  4. };
  5.  
  6. AnswerMaster = {
  7. "1": "Answer 1",
  8. "2": "Answer 2"
  9. };
  10.  
  11.  
  12. return [Question("1")
  13. .withAnswer(Answer("1"))
  14. .withAnswer(Answer("2").withNextQuestion("3"))
  15. .withAnswer(Answer("3").withNextQuestion("4"))
  16. .withAnswer(Answer("3")),
  17. Question("2")
  18. .withAnswer(Answer("1"))
  19. .withAnswer(Answer("2").withNextQuestion("3"))
  20. .withAnswer(Answer("3").withNextQuestion("4"))
  21. .withAnswer(Answer("3"))
  22. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement