Пример #1
0
  /** Create itemized list of input values to prevent errors during presentation */
  public static void main(String[] args) {
    // TODO Auto-generated method stub

    // create array of all courses
    LinkedList<Course> courseList = new LinkedList<Course>();
    populateCourses(courseList);

    // populate student accounts from file
    LinkedList<User> userList = new LinkedList<User>();
    // *LinkedList<Student> userList = new LinkedList<Student>();
    populateStudentAccounts(userList);

    // take user to login screen
    // Student aStudent = login(userList,courseList);

    login(userList, courseList);

    // send current student to menu for textbook ordering
    // menu(courseList, aStudent, userList);

    // outputs the textbook reservation to a file
    dataToFiles(courseList);
  }