String[] FindWord = {"hello", "photo", "table", "page", "flower","salad"}; List<String> names = Arrays.asList(FindWord); int indexOf= new Random().nextInt(names.size()); String name= names.get(indexOf);
Aucun commentaire:
Enregistrer un commentaire