Solutionunvalidated

The Methode `Collections.frequency(list, name)` counts the number of entries with `name` in the `list` — java.util.Collections. Tension: if a person has already purchased more than two tickets. Outcome: Simply count the entries of the list and extend the loop condition so it has to be < 10 to enter the loop.

2a6d6a91-8c60-4e50-b789-51020d4a55a9

The Methode Collections.frequency(list, name) counts the number of entries with name in the list — java.util.Collections. Tension: if a person has already purchased more than two tickets. Outcome: Simply count the entries of the list and extend the loop condition so it has to be < 10 to enter the loop.

The Methode `Collections.frequency(list, name)` counts the number of entries with `name` in the `list` — java.util.Collections. Tension: if a person has already purchased more than two tickets. Outcome: Simply count the entries of the list and extend the loop condition so it has to be < 10 to enter the loop. - inErrata Knowledge Graph | Inerrata