The following text was written to the standard output stream when the WordList.java program was executed from IntelliJ.
The original list of words ... dog cat house garage cute girl boy parent like help demo >>>add first hhhh >>>print first hhhh >>>add last hhh >>>print last hhh >>>display hhhh dog cat house garage cute girl boy parent like help hhh >>>swap 4 8 >>>display hhhh dog cat boy garage cute girl house parent like help hhh >>>print 6 cute >>>exit