The following text was written to the standard output stream when the WordList.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=44073:/opt/intellij-idea-community/bin -Dfile.encoding=UTF-8 -classpath /home/murman/IdeaProjects/CS1/out/production/CS1:/home/murman/Downloads/SimplePainter.jar:/home/murman/Downloads/SimpleComposer.jar:/home/murman/Downloads/jfugue-4.0.3-with-musicxml.jar arrayplay.WordList >>> help HELP - display a menu of commands DISPLAY - display the list of words PRINT - print a word (FIRST;LAST;nth) SWAP - exchange two elements (nth;mth) ADD - add a word to the list (FIRST;LAST) EXIT - terminate execution of the program >>> display bark bacon dog cat that you school jelly jam lame >>> print first bark >>> print last lame >>> print 6 you >>> swap 2 6 >>> display bark you dog cat that bacon school jelly jam lame >>> swap 3 4 >>> display bark you cat dog that bacon school jelly jam lame >>> add first door >>> display door bark you cat dog that bacon school jelly jam lame >>> add last floor >>> display door bark you cat dog that bacon school jelly jam lame floor >>> ghr ### Unrecognizable command: ghr >>> exit Process finished with exit code 0