The example is for defining a QuestionMap and AnswerMap. There are multiple types of questions that produce different types of answers. So, in order to
QuestionMap
AnswerMap