Write a program that replaces all occurrences of a word with a new word in all the

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 from the command line as follows:
java Exercise18_31 dirName oldWord newWord

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: