Пример #1
0
  public void selectedCategoryInformer(String title) {
    try {

      System.out.println("You have choosen " + title + "\n");
    } catch (Exception e) {
      KRun kr = new KRun();
      System.out.println("There is no such number of Category available");
      kr.categorySelector();
    }
  }
Пример #2
0
 public void provideNewQuestion(int projectNumber, int categoryNumber, String categoryTitle) {
   String newQuestion = reciveQuestion();
   addNewQuestion(newQuestion, projectNumber, categoryTitle);
   consolePrintView.singleCategorysProjectsView(prm.getOne(categoryTitle, projectNumber));
   kr.projectSelector(categoryNumber, categoryTitle);
 }