public static void main(String[] args) { Scanner s = new Scanner(new RandomWords(10)); while (s.hasNext()) System.out.println(s.next()); }