import java.io.FileNotFoundException; public class Main{ public static void main(String[] args) throws FileNotFoundException { //(i) 12 marks Game[] games = Game.importGameList("20260320.txt"); games[0].print_info(); // output: [G01] Start time: 14:00; Court 1; Players: null and null games[1].print_info(); // output: [G02] Start time: 14:00; Court 2; Players: null and null games[9].print_info(); // output: [G10] Start time: 16:00; Court 4; Players: null and null //(ii) 15 marks Player a = new Player("Amy"); Player b = new Player("Bob"); Player c = new Player("Carol"); Player d = new Player("Daisy"); games[0].assignPlayers(a,b); games[1].assignPlayers(c,d); b.enquire(); // output: To Bob: You will play G01 with Amy at 14:00 in court 1 c.enquire(); // output: To Carol: You will play G02 with Daisy at 14:00 in court 2 //(iii) 6 marks (difficult) d.withdraw(); // output: Daisy has withdrawn from G02 c.enquire(); // output: To Carol: You will play G02 with [Pending] at 14:00 in court 2 new Player("Eva").join_a_game(games); // output: To Eva: You will play G02 with Carol at 14:00 in court 2 games[1].print_info(); // output: [G02] Start time: 14:00; Court 2; Players: Carol and Eva } }