The following text was written to the standard output stream when the WordsList.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=36813:/opt/intellij-idea-community/bin -Dfile.encoding=UTF-8 -classpath "/home/dsoules/IdeaProjects/CS1/out/production/CS1:/home/dsoules/IntelliJ Add-ons/SimpleComposer.jar:/home/dsoules/IntelliJ Add-ons/SimplePainter.jar:/home/dsoules/IntelliJ Add-ons/SimplePlayer.jar:/home/dsoules/IntelliJ Add-ons/jfugue-4.0.3-with-musicxml.jar" arraylistplay.WordsList >>> display I don't know what to write so you make something up >>> 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 >>> print 7 so >>> swap 3 5 >>> add last bye >>> display I don't to what know write so you make something up bye >>> exit Process finished with exit code 0