18.)  Level 2 Given the following code snippet: String[] par…

18.)  Level 2 Given the following code snippet: String[] participants = {“Alice”, “Bob”, “Charlie”, “Diana”, “Ethan”, “Fiona”}; Scanner scanner = new Scanner(System.in);System.out.println(“Enter location: “);int location = scanner.nextInt();String result = “”; for (int i = 0; i < participants.length; i++) {    result += participants[i].charAt(location);} System.out.println(result);   When the program ran the user entered the following in the console: Enter location: 2   What is the output of this code?