Question: In Java/IntelliJ, Create a string array and populate it with words read in from a file. The size of the array will be the first

In Java/IntelliJ, Create a string array and populate it with words read in from a file. The size of the array will be the first value in the data file and every word after that will appear on its own input line. Assume the file name is data.txt.

Write the code to allow a user to either search for a word in the string array, replace one of the words in the string array, or print the string array. The user should be allowed to continue to perform any of the operations until they choose to exit. This requires using the sentinel loop pattern.

must have at least two well-defined functions, besides main

must also include documentation at the top of the program with, and a sentence or two describing the program. For each function, include JavaDoc documentation. Global variables cannot be used

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!