Question: CMPSCI 182 (Spring 2023) Homework 01 (10 points) (REPLACE TEXT) ReplaceText.java, gives a program that replaces text in a source file and saves the change
CMPSCI 182 (Spring 2023) Homework 01 (10 points) (REPLACE TEXT) ReplaceText.java, gives a program that replaces text in a source file and saves the change into a new file. Revise the program to save the change into the original file. For example, invoking: java ReplaceText file oldString newString replaces oldString in the source file with newString. Test you program with the following: java ReplaceText CircleArea.java radius circleRadius Files to download: ReplaceText.java CircleArea.java Submit (Canvas): ReplaceText.java 3 points will be deducted if not using command line arguments.

ReplaceText.java Download ReplaceText.java (1.09 KB) CircleArea.java Download CircleArea.java (511 Bytes)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
