<p>Define an IndexTree class such that each node has data fields tostore a word, the count of occurrences of that word in a documentfile, and the line number for each
<p><img alt="Assume that a Stack class as you have described above in Question 5 b) is available. Give Java code to loop around getting St" src="https://media.cheggcdn.com/media%2F580%2F580ff68c-38d9-4372-9d6c-2ceee0af6522%2Fphp1u2WXp.png" style="height:123px;width:867px;" aria-describedby="d3f"/></p>Assume that a
<br/><img src="https://media.cheggcdn.com/media%2F2f4%2F2f469fd6-bb38-4af4-9cc9-9881b92ee7ca%2Fimage.png" alt="Laboratory Exercise NO. 9 You will edit and run the program on DEV C IDE and will show to the instructo when finished. You wi" aria-describedby="d3f"/>Laboratory Exercise NO.