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=34997:/opt/intellij-idea-community/bin -Dfile.encoding=UTF-8 -classpath /home/jmarin2/IdeaProjects/CS1/out/production/CS1:/home/jmarin2/SimplePainter.jar:/home/jmarin2/SimpleComposer.jar:/home/jmarin2/jfugue-4.0.3-with-musicxml.jar arrayplay.Primes length primes arrays = 4 first primes = 2 last primes = 7 last primes = 7 The intial array... 2 3 5 7 The final array... 7 3 5 2 Process finished with exit code 0