Question: Create three files of any type you choosefor example, word-processing documents, spreadsheets, or pictures. Write an application that determines whether the first two files are
Create three files of any type you choose—for example, word-processing documents, spreadsheets, or pictures. Write an application that determines whether the first two files are located in the same folder as the third one. Test the program when the files are in the same folder and when they are not.
Save the file as CompareFolders.java.
Step by Step Solution
3.52 Rating (166 Votes )
There are 3 Steps involved in it
import javaniofile import javaioIOException public class CompareFolders public static void mainS... View full answer
Get step-by-step solutions from verified subject matter experts
