The following text was written to the standard output stream when the primes.java program was executed from Netbeans.
size of primes list = 4 first prize = 2 last prize = 7 last prize = 7 The initial list ... 2 3 5 7 The final list ... 7 3 5 2