The following text was written to the standard output stream when the Primes program was executed from IntelliJ.
length of primes array = 4 First Prime = 2 Last Prime = 7 Last Prime = 7 The initial array ... 2 3 5 7 The final array ... 7 3 5 2