CS1 Standard Demo Page

The following text was written to the standard output stream when the Words list 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=34533:/opt/intellij-idea-community/bin -Dfile.encoding=UTF-8 -classpath /home/jwalker6/IdeaProjects/CS1/out/production/CS1:/home/jwalker6/SimplePainter.jar:/home/jwalker6/jfugue-4.0.3-with-musicxml.jar:/home/jwalker6/SimpleComposer.jar arrayplay.WordsList
>>> 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
>>> display
black
white
green
blue
bad
good
bird
dog
cat
attack
religion
gamer
joe
>>> add first fish
>>> add last gg
>>> swap
1
15
>>> display
gg
black
white
green
blue
bad
good
bird
dog
cat
attack
religion
gamer
joe
fish
>>> print first
gg
>>> print last
fish
>>> print 5
blue
>>> exit

Process finished with exit code 0