The following text was written to the standard output stream when the NumberList.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=45781:/opt/intellij-idea-community/bin -Dfile.encoding=UTF-8 -classpath /home/dvanripe/IdeaProjects/CS1/out/production/CS1:/home/dvanripe/Downloads/SimplePainter.jar:/home/dvanripe/Downloads/SimpleComposer.jar:/home/dvanripe/Downloads/jfugue-4.0.3-with-musicxml.jar arrayplay.NumberList >>> display 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 >>> print first 15 >>> print last 0 >>> print 1 15 >>> print 15 1 >>> swap 5 7 >>> display 15 14 13 12 9 10 11 8 7 6 5 4 3 2 1 0 >>> swap 1 15 >>> display 1 14 13 12 9 10 11 8 7 6 5 4 3 2 15 0 >>> 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 100a >>> add last 200 >>> shownumbers ### Unrecognizable command: shownumbers >>> display 100 1 14 13 12 9 10 11 8 7 6 5 4 3 2 15 0 200 >>> exit Process finished with exit code 0