CS1 Standard Demo Page

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

"/Applications/IntelliJ IDEA CE.app/Contents/jbr/Contents/Home/bin/java" "-javaagent:/Applications/IntelliJ IDEA CE.app/Contents/lib/idea_rt.jar=64178:/Applications/IntelliJ IDEA CE.app/Contents/bin" -Dfile.encoding=UTF-8 -classpath /Users/sahaliesullivan/CS1/out/production/CS1:/Users/sahaliesullivan/CS1/jfugue-4.0.3-with-musicxml.jar:/Users/sahaliesullivan/CS1/SimpleComposer.jar:/Users/sahaliesullivan/CS1/SimplePainter.jar arraylistplay.WordList
>>> 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
cat
dog
rat
bat
pizza
chair
sun
sky
pink
ring
>>> print first
cat
>>> print last
ring
>>> print 4
bat
>>> print 7
sun
>>> swap 2 5
>>> display
cat
pizza
rat
bat
dog
chair
sun
sky
pink
ring
>>>