The following text was written to the standard output stream when the Primes.java program was executed from IntelliJ.
/usr/lib/jvm/java-1.11.0-openjdk-amd64/bin/java -javaagent:/opt/intellij-idea-community/lib/idea_rt.jar=44743:/opt/intellij-idea-community/bin -Dfile.encoding=UTF-8 -classpath /home/rpaltati/IdeaProjects/CS1/out/production/CS1:/home/rpaltati/Desktop/SimplePainter.jar:/home/rpaltati/Desktop/SimpleComposer.jar:/home/rpaltati/Desktop/jfugue-4.0.3-with-musicxml.jar ArrayListPlay.Primes size of primes list = 4 size of primes list = 2 size of primes list = 7 size of primes list = 7 The initial list... 2 3 5 7 The final list... 7 3 5 2 Process finished with exit code 0