// Example 153 from page 129 of Java Precisely second edition (The MIT Press 2005) // Author: Peter Sestoft (sestoft@itu.dk) import java.io.*; import java.util.Random; class Example153 { public static void main(String[] args) throws IOException { final int count = 20; System.out.println("Reading " + count + " random strings from string array file"); Random rnd = new Random(); for (int i=0; i