Question: creat a simple search in java. no breaks or global varibles. Program Requirement: Create a string array and populate it with words read in from
Program Requirement: 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 tac. 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!!! Your solution must use at least two well-defined functions (main does not count)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
