Java tutorial
//package com.java2s; import java.util.ArrayList; import java.util.UUID; public class Main { private static ArrayList<String> generateCharacters(int count) { ArrayList<String> characterPlayed = new ArrayList<>(); for (int i = 0; i < count; i++) { characterPlayed.add(generateRandomString()); } return characterPlayed; } public static String generateRandomString() { return UUID.randomUUID().toString(); } }