Question: Write a program that replaces all occurrences of a word with a new word in all the files under a directory, recursively. Pass the parameters
Write a program that replaces all occurrences of a word with a new word in all the files under a directory, recursively. Pass the parameters from the command line as follows:
java Exercise18_31 dirName oldWord newWord
Step by Step Solution
3.23 Rating (155 Votes )
There are 3 Steps involved in it
Y Program replaces word from all the files in a direc... View full answer
Get step-by-step solutions from verified subject matter experts
