CS1 Standard Demo Page

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

>>> display
Java
coding
Food
Hockey
Football
Baseball
Hello
Computer
Money
>>> swap
0 1
>>> dispplay
### Unrecognizable command: dispplay
>>> display
coding
Java
Food
Hockey
Football
Baseball
Hello
Computer
Money
>>> print
0
coding
>>> add first
cat
>>> add last
dog
>>> display
cat
coding
Java
Food
Hockey
Football
Baseball
Hello
Computer
Money
dog
>>> 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
>>> exit