The following text was written to the standard output stream when the Primes.java.html program was executed from IntelliJ.
size of primes list=4 first prime=2 last prime=7 last prime=7 The initial list... [2, 3, 5, 7] [2, 3, 5, 7] [2, 3, 5, 7] [2, 3, 5, 7] The final list... [7, 3, 5, 2] [7, 3, 5, 2] [7, 3, 5, 2] [7, 3, 5, 2] Process finished with exit code 0