Question: java 12.20 (Remove package statement) Suppose you have Java source files under the directories chapter 1 , chapter 2 ,.... chapter 34 . Write a
12.20 (Remove package statement) Suppose you have Java source files under the directories chapter 1 , chapter 2 ,.... chapter 34 . Write a program to remove the statement package chapteri ; in the first line for each Java source file under the directory chapteri. Suppose chapter1, chapter2, ..., chapter 34 are under the root directory srcRootDirectory. The root directory and chapteri directory may contain other folders and files. Use the following command to run the program: java Exercise12_20 srcRootDirectory
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
