The following text was written to the standard output stream when the WordListDemo.html program was executed from IntelliJ.
>>>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 >>>display Mathematics Geography History Science Psycology Astronomy Physics Chemistry Biology Electronics Algebra Economics >>>print first Mathematics >>>print last Economics >>>print 4 Science >>>print 9 Biology >>>swap 6 11 >>>display Mathematics Geography History Science Psycology Algebra Physics Chemistry Biology Electronics Astronomy Economics >>>swap 3 7 >>>display Mathematics Geography Physics Science Psycology Algebra History Chemistry Biology Electronics Astronomy Economics >>>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 >>>add first college >>>add last subjects >>>showwords ### Unrecognizable command: showwords >>>display college Mathematics Geography Physics Science Psycology Algebra History Chemistry Biology Electronics Astronomy Economics subjects >>>exit