CS1 Standard Demo Page

The following text was written to the standard output stream when the WordList.java program was executed from IntelliJ.

/usr/lib/jvm/java-1.11.0-openjdk-amd64/bin/java -javaagent:/opt/intellij-idea-community/lib/idea_rt.jar=41851:/opt/intellij-idea-community/bin -Dfile.encoding=UTF-8 -classpath /home/dreitz/IdeaProjects/CS1/out/production/CS1:/home/dreitz/Desktop/SimplePainter.jar:/home/dreitz/Desktop/SimpleComposer.jar:/home/dreitz/Desktop/jfugue-4.0.3-with-musicxml.jar arrayplay.WordList
>>> 	DISPLAY
Dallas
Stars
Scored
Seguin
Cole
Knights
Rangers
Devils
Caps
Oilers
>>> PRINT 5
Cole
>>> SWAP 5 7
>>> DISPLAY
Dallas
Stars
Scored
Seguin
Rangers
Knights
Cole
Devils
Caps
Oilers
>>> JELP
### Unrecognizable command: JELP
>>> 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
>>> EXIT

Process finished with exit code 0