Build a linear search following the pseudocode approach above.
Explanation:
Using the main below and the outline above, complete the iterative file searching algorithm in the method searchFiles(). Use fileObject.listFiles(), fileObject.isDirectory(), and fileObject.getName() to accomplish this below.
public static void main(String[] args) {
System.out.println( searchFiles(new File(“c:\\”), “hw3.zip”) );
}
public static String searchFiles(File path, String target) {
//todo
}