The following text was written to the standard output stream when the WordList.java program was executed from IntelliJ.
The Original List of Words... Come to find out I'm a can on a string you're on the end >>> afa ### Unrecognizable command: afa >>> 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 Come to find out I'm a can on a string you're on the end >>> print first Come >>> print last end >>> print 3 find >>> swap 1 3 >>> display find to Come out I'm a can on a string you're on the end >>> add first Test >>> add last test >>> display Test find to Come out I'm a can on a string you're on the end test >>> exit Process finished with exit code 0 Process finished with exit code 0