The following text was written to the standard output stream when the Primes.java program was executed from IntelliJ.
Length of primes array = 4 First prime = 2 Last prime = 7 Last prime = 7 The First array... 2 3 5 7 The Final array... 7 3 5 2