(Solved):Using Java, write a command line application that indexes the words contained in a text file (provided to the program as a command line argument). Your program should go through the input file line… View Answer…

 

Question

Using Java, write a command line application that indexes the words contained in a text file (provided to the program as a command line argument). Your program should go through the input file line by one. For each, line extract each word, and insert that word, along with its location into an AVL tree.

Each element of the AVL tree should contain a unique word and a linked lit of line

Scroll to top