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=44739:/opt/intellij-idea-community/bin -Dfile.encoding=UTF-8 -classpath /home/jbouldin/IdeaProjects/CS1/out/production/CS1:/home/jbouldin/Desktop/SimplePainter.jar:/home/jbouldin/Desktop/SimpleComposer.jar:/home/jbouldin/Desktop/jfugue-4.0.3-with-musicxml.jar arrayplay.WordList >>> 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 Potato Chip Barbecue Lays Sour Cream Salt Vinegar Big Bag Small Chips >>> print first Potato >>> print 3 Barbecue >>> swap 5 7 >>> display Potato Chip Barbecue Lays Salt Cream Sour Vinegar Big Bag Small Chips >>> add first pickles ### invalid operand for add command >>> ### Unrecognizable command: pickles >>> add first pickles >>> display pickles Potato Chip Barbecue Lays Salt Cream Sour Vinegar Big Bag Small Chips null >>> exit Process finished with exit code 0