public static ArrayList<Question> getQuestions() {
    synchronized (MainInfo.class) {
      ArrayList<Question> aryQuestions = new ArrayList<Question>();
      try {
        for (int i = 0; true; i++) {
          {
            Class<?> clsQuestion = Class.forName("questions.QuestionW" + i + "_" + 0);
            aryQuestions.add((Question) clsQuestion.newInstance());
          }
          try {
            for (int j = 1; true; j++) {
              Class<?> clsQuestion = Class.forName("questions.QuestionW" + i + "_" + j);
              aryQuestions.add((Question) clsQuestion.newInstance());
            }
          }//for-try
          catch (ClassNotFoundException cnf) {} catch (InstantiationException | IllegalAccessException e) {
            throw new Error(e);
          }
        }
      }//for-try
      catch (ClassNotFoundException cnf) {} catch (InstantiationException | IllegalAccessException e) {
        throw new Error(e);
      }
      return aryQuestions;
    }
  }