[burt@lee ll3]$ cat test_3.txt | java ReverseListTest insertAtHead: -first word printList: -first word insertAtHead: -second word printList: -second word -first word insertAtHead: -third word printList: -third word -second word -first word reverseList: -first word -second word -third word [burt@lee ll3]$