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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started