The following text was written to the standard output stream when the WordList.java program was executed from IntelliJ.
>>> print 0 Java >>> display Java coding Food Hockey Football Baseball Hello Computer Money Phone >>> swap 0 1 >>> display coding Java Food Hockey Football Baseball Hello Computer Money Phone >>> add first Soccer >>> add last dog >>> display Soccer coding Java Food Hockey Football Baseball Hello Computer Money Phone dog >>> hello ### Unrecognizable command: hello >>> 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 >>> exit