The following text was written to the standard output stream when the WordList.java program was executed from Netbeans.
run: >>>display orventille eric cuevas daughter mother sister brother nephew words youtube google new york snow >>> add first mug >>>display mug orventille eric cuevas daughter mother sister brother nephew words youtube google new york snow >>>add last hope >>>display mug orventille eric cuevas daughter mother sister brother nephew words youtube google new york snow hope >>>swap 1 2 >>>display orventille mug eric cuevas daughter mother sister brother nephew words youtube google new york snow hope >>>print 6 mother >>>print 9 nephew >>>help HELP - display 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 >>>exit BUILD SUCCESSFUL (total time: 1 minute 29 seconds)