=================================== The main() Method =================================== public static void main(String [] args) throws FileNotFoundException { System.out.print("Please input the file pathname: "); Scanner in = new Scanner(System.in); String filepathname = in.nextLine(); ____________students; //Define an array of students: Student[] students; students = ___________________; //Call the given static method in the Student class for reading from file: Student.createStudentListFromFile(filepathname); ____________teams; //Define an array of teams: Team [] teams = ___________________;//Call the private method (one of the 3 methods in Main.java) to create the teams for students: createTeams(students); //Print the grouping result: System.out.println("\nGrouping result: "); System.out.println(teams[0].toString()); System.out.println(teams[1].toString()); System.out.println(teams[_].toString()); System.out.println(teams[_].toString()); System.out.println(teams[_].toString()); //Create the assignments _________________ assignments; //Define an array of assignments: Assignment[] assignments assignments = ______________________;//Call the private method (one of the 3 methods in Main.java) to input the tasks for each team: decideTasks(teams, in); //Display sorted listing by tasks: System.out.println("\nSorted listing by tasks: "); Assignment.printTaskTeam("Lab05", assignments); Assignment.printTaskTeam(____________________); Assignment.printTaskTeam(____________________); Assignment.printTaskTeam(____________________); Assignment.printTaskTeam(____________________); in.close(); } =================================== The createTeams() Method =================================== //Create the teams from the students array: students[0..5] go to team A, students[6..11] go to team B, etc.. private static Team[] createTeams(Student[] students) { ________ result; //Define an array of teams to store the result: Team[] result; result = _____________; //Create the array: new Team[5]; //Create the 5 teams //Hint: "Arrays.copyOfRange(students, 0,6);" means to copy from position 0 inclusive to position 6 EXCLUSIVE result[0]=new Team(____________________________________); //give team name and array of 6 students: "Team A", Arrays.copyOfRange(students, 0,6) result[1]=____________________________________; //Create the second team : new Team("Team B", Arrays.copyOfRange(students, 6,12)); result[_]=____________________________________; result[_]=____________________________________; result[_]=____________________________________; ___________; //Return the result: return result; } =================================== The decideTasks() Method =================================== //assignment of lab tasks to teams based on user input private static Assignment[] decideTasks(Team[] teams, Scanner in) { ________________ assignments; //Define an array of assignments to store the result: Assignment[] assignments; assignments = __________________; //Create the array: new Assignment[5]; System.out.println("\nEnter tasks for the teams (Lab05,Lab06,Lab07,Lab08,Lab09): "); for (int i=0; i<5; i++) { System.out.print(_____________________+ ": "); //Prompt for a team: teams[i].getName() String taskName = _______________; //Get user input of the task name from keyboard: in.next(); assignments[i] = new Assignment(___________________); //Create the assignment for: teams[i], new Task(taskName) } ___________; //Return the result: return assignments; }