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=36025:/opt/intellij-idea-community/bin -Dfile.encoding=UTF-8 -classpath /home/msoe/IdeaProjects/CS1/out/production/CS1:/home/msoe/Documents/jfugue-4.0.3-with-musicxml.jar:/home/msoe/Documents/SimplePainter.jar:/home/msoe/Downloads/SimpleComposer.jar arraylistplay.WordList
>>> 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
HELP - terminate execution of the program
>>> display
boy
girl
human
mankind
woman
man
uncle
aunt
cousin
brother
sister
daughter
father
mother
grandma
grandpa
>>> print first
boy
>>> print last
grandpa
>>> print 2
girl
>>> paint 11
### Unrecognizable command: paint
>>> ### Unrecognizable command: 11
>>> print 11
sister
>>> swap 5 9
>>> display
boy
girl
human
mankind
cousin
man
uncle
aunt
woman
brother
sister
daughter
father
mother
grandma
grandpa
>>> add first Mum
>>> add last Dad
>>> display
Mum
boy
girl
human
mankind
cousin
man
uncle
aunt
woman
brother
sister
daughter
father
mother
grandma
grandpa
Dad
>>> exit

Process finished with exit code 0