The following text was written to the standard output stream when the WordList.java program was executed from IntelliJ.
>>> 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 Did You Know That Peanuts are not actually nuts they are seeds >>> print first Did >>> print last seeds >>> swap 1 2 >>> display You Did Know That Peanuts are not actually nuts they are seeds >>> exit