The following text was written to the standard output stream when the WordList2.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=35269:/opt/intellij-idea-community/bin -Dfile.encoding=UTF-8 -classpath /home/smorgan4/IdeaProjects/CS1/out/production/CS1:/home/smorgan4/SimplePainter.jar:/home/smorgan4/SimpleComposer.jar:/home/smorgan4/jfugue-4.0.3-with-musicxml.jar arraylistplay.WordList2 >>> 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 displaythe program >>> display hi they man woman put softball dog cat mother father play fun >>> print first hi >>> print last fun >>> swap 1 3 >>> display man they hi woman put softball dog cat mother father play fun >>> add first hey >>> add last pull >>> display hey man they hi woman put softball dog cat mother father play fun pull >>>