The following text was written to the standard output stream when the NumberList 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=32933:/opt/intellij-idea-community/bin -Dfile.encoding=UTF-8 -classpath /home/kgargui2/IdeaProjects/CS1/out/production/CS1:/home/kgargui2/SimplePainter.jar:/home/kgargui2/SimpleComposer.jar:/home/kgargui2/jfugue-4.0.3-with-musicxml.jar arrayplay.NumberList >>> 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 >>> display 4 8 13 46 8 3 12 25 64 50 18 23 76 98 34 98 12 45 76 100 >>> print first 4 >>> print last 100 >>> print 3 13 >>> print 18 45 >>> swap 5 7 >>> display 4 8 13 46 12 3 8 25 64 50 18 23 76 98 34 98 12 45 76 100 >>> swap 1 18 >>> display 45 8 13 46 12 3 8 25 64 50 18 23 76 98 34 98 12 4 76 100 >>> 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 >>> shownumbers ### Unrecognizable command: shownumbers >>> display 100 45 8 13 46 12 3 8 25 64 50 18 23 76 98 34 98 12 4 76 100 200 >>> exit Process finished with exit code 0