CS1 Standard Demo Page

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

WordList (arraylist)

"C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2019.3.4\jbr\bin\java.exe" "-javaagent:C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2019.3.4\lib\idea_rt.jar=52483:C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2019.3.4\bin" -Dfile.encoding=UTF-8 -classpath C:\Users\Will\CS1\public_html\CS1WorkSite\production\CS1;C:\Users\Will\CS1\jfugue-4.0.3-with-musicxml.jar;C:\Users\Will\CS1\SimpleComposer.jar;C:\Users\Will\CS1\SimplePainter.jar arraylistplay.WordList
>>> display
Bug
Pen
Dog
Cat
Bush
Computer
Circle
Phone
Book
Dowm
Snow
singer
winner
lover
>>> print first
Bug
>>> printlast
### Unrecognizable command: printlast
>>> print last
lover
>>> swap 5 7
>>> display
Bug
Pen
Dog
Cat
Circle
Computer
Bush
Phone
Book
Dowm
Snow
singer
winner
lover
>>> help
HELP - display a menu of commands
DISPLAY - display the list of numbers
PRINT - print a String (FIRST;LAST;nth)
SWAP - exchange two elements (nth;mth)
ADD - add a String to the list (FIRST;LAST)
EXIT - terminate execution of the program
>>> exit