The following text was written to the standard output stream when the NumberList.java program was executed from Netbeans.
>>> display 64 374 25149529 54214 56146 1 25 448 3127 24 123456789 111 >>> add FIRST 3 >>> add LAST 10 >>> display 3 64 374 25149529 54214 56146 1 25 448 3127 24 123456789 111 10 >>> swap 1 14 >>> display 10 64 374 25149529 54214 56146 1 25 448 3127 24 123456789 111 3 >>> 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 >>> print 7 1 >>> exit