摘要:
import java.io.File; public class FileSuffixDemo { public static void main(String[] args) { demo(new File(""),"txt"); //传txt后缀名到demo方法中 } public stati 阅读全文
摘要:
import java.io.File; public class deleDemo { public static void main(String[] args) { demo(new File("D:\\javaTest")); //demo2(new File("D:\\javaTest") 阅读全文