Revise Programming Exercise 12.16 to replace a string in a file with a new string for all

Question:

Revise Programming Exercise 12.16 to replace a string in a file with a new string for all files in the specified directory using the command:java Exercise12_22 dir oldString newString

Listing

image

image

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

Step by Step Answer:

Question Posted: