The following text was written to the standard output stream when the NumberList.java program was executed from Netbeans.
run: The original list of numbers ... 24 5 78 63 3 12 21 64 17 47 59 21 6 11 49 >>> add first 76 >>> add last 32 >>> swap 5 6 >>> display 76 24 5 78 3 63 12 21 64 17 47 59 21 6 11 49 32 >>> exit BUILD SUCCESSFUL (total time: 39 seconds)