Из книги "Изучаем Java" по аналогии с приведенным там примером написал вот такую штуку: public class Solution { public static void main(String[] args) { String[] wordListOne = {"Мама"}; String[] wordListTwo = {"Мыла"}; String[] wordListThree = {"Раму"}; int oneLength = wordListOne.lenght; int twoLength = wordListTwo.lenght; int threeLength = wordListThree.lenght; int rand1 = (int) (Math.random() * oneLength); int rand2 = (int) (Math.random() * twoLength); int rand3 = (int) (Math.random() * threeLength); String phrase = wordListOne[rand1]+wordListTwo[rand2]+wordListThree[rand3]; System.out.println(phrase); } } Но что то идет не так)) подскажите куда смотреть?