The following text was written to the standard output stream when the WordList.java program was executed from IntelliJ.
>>> display hello world this is an array of words describing itself it is not sentient >>> 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 >>> add last just >>> add last kidding >>> display hello world this is an array of words describing itself it is not sentient just kidding