The following text was written to the standard output stream when the ?NumberList.java/tt> 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=37209:/opt/intellij-idea-community/bin -Dfile.encoding=UTF-8 -classpath /home/kscalzo/IdeaProjects/CS1/out/production/CS1:/home/kscalzo/Downloads/SimplePainter.jar:/home/kscalzo/Downloads/SimpleComposer.jar:/home/kscalzo/Downloads/jfugue-4.0.3-with-musicxml.jar arrayplay.NumberList >>> display 5 7 9 4 3 6 2 4 4 3 7 2 9 8 >>> print first 5 >>> print last 8 >>> print 3 9 >>> print 18 0 >>> swap 5 7 >>> display 5 7 9 4 2 6 3 4 4 3 7 2 9 8 >>> swap 1 18 >>> display 0 7 9 4 2 6 3 4 4 3 7 2 9 8 >>> help HELP - display a menu of commands DISPLAY - display the list of numbers PRINT - print a number (FIRST;LAST;nth) SWAP - exchange two elements (nth;mth) ADD - add a number to the list (FIRST;LAST) EXIT - terminate execution of the program >>> add first 100 >>> add last 200 >>> shownnumbers ### Unrecognizable command: shownnumbers >>> display 100 0 7 9 4 2 6 3 4 4 3 7 2 9 8 200 >>> exit Process finished with exit code 0