@Test
void test9() {
File file = new File("C:\\Users\\11385\\Desktop\\19060212社会实践");
findAll(file);
}
void findAll(File file) {
File[] files = file.listFiles();
for (File file1 : files) {
if(file1.isDirectory()){
findAll(file1);
}else{
System.out.println(file1.getName());
}
}
}