The following text was written to the standard output stream when the TheWordList.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=45931:/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.TheWordList >>> 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 i do not know what to say so these are my words >>> print first i >>> print last words >>> print 3 not >>> print 4 know >>> swap 5 7 >>> display i do not know say to what so these are my words >>> add first first >>> add last last >>> shownnumbers ### Unrecognizable command: shownnumbers >>> display first i do not know say to what so these are my words last >>> exit Process finished with exit code 0