Question: ONLY ONE PROGRAM THAT DOES ALL THREE. Path for file 1 is C: Java Chapter 1 3 TestData 1 . txt Path

ONLY ONE PROGRAM THAT DOES ALL THREE.
Path for file1 is C:\Java \Chapter13\TestData1.txt Path for file2 is C:\Java\Chapter13\TestData2.txt Path for file3 is C:\Java \Chapter13\TestData3.txt All files are in the same folderWrite an application that determines whether the first two files are in the same folder as the third one. The program should prompt the user to provide 3 file paths. If the files are in the same folder display All files are in the same folder, otherwise display Files are not in the same folder.
Test the program when the files are in the same folder and when they are not.
Sample Output:
Starter Code:
import java.nio.file.*;
import java.io.IOException;
public class CompareFolders {
public static void main(String[] args){
// Write your code here
}
}
Write your Java code in Eclipse IDE. Once you are happy with your results, copy the corrected code and place it here:
Take screen shot of the final output and place it here:ON
 ONLY ONE PROGRAM THAT DOES ALL THREE. Path for file1 is

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!