上一页 1 ··· 5 6 7 8 9 10 11 下一页
摘要: 阅读全文
posted @ 2020-09-26 14:13 享受折腾 阅读(83) 评论(0) 推荐(0) 编辑
摘要: 1 public class FileReaderDemo { 2 public static void main(String[] args) { 3 File file = new File("f:\\test"); 4 if (!file.exists()) { 5 file.mkdirs() 阅读全文
posted @ 2020-09-26 11:19 享受折腾 阅读(132) 评论(0) 推荐(0) 编辑
摘要: public class CopyFileDemo { public static void main(String[] args) throws IOException { FileInputStream fis = new FileInputStream("D:\\windows.iso"); 阅读全文
posted @ 2020-09-25 15:11 享受折腾 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 1 public class FileDemo2 { 2 public static void main(String[] args) { 3 File f = new File("E:\\centos"); 4 getAllFiles(f); 5 } 6 7 private static void 阅读全文
posted @ 2020-09-25 08:05 享受折腾 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-09-24 11:20 享受折腾 阅读(87) 评论(0) 推荐(0) 编辑
摘要: 1 public interface Cook { 2 void makeFood(); 3 } 4 5 6 public class CookLambda { 7 public static void main(String[] args) { 8 invoke(new Cook() { 9 @O 阅读全文
posted @ 2020-09-23 16:05 享受折腾 阅读(213) 评论(0) 推荐(0) 编辑
摘要: 1 public class Noodle { 2 String noodle; 3 String seasoning; 4 boolean flag = false; 5 } 6 7 8 public class Cook extends Thread { 9 10 private Noodle 阅读全文
posted @ 2020-09-23 13:56 享受折腾 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-09-23 10:34 享受折腾 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-09-23 08:57 享受折腾 阅读(105) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-09-22 14:01 享受折腾 阅读(112) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 下一页