摘要: 1.线程 线程的休眠 public static void main(String[] args) { // 线程的休眠 // 第一种方式(不推荐): try { Thread.sleep(3000);// 毫秒 } catch (InterruptedException e) { e.printS 阅读全文
posted @ 2023-12-26 21:39 张心野 阅读(24) 评论(0) 推荐(0)
摘要: 1.IO流 序列化 public class Practice01 { public static void main(String[] args) throws IOException, ClassNotFoundException { // 一个数据 用变量 // 多个同类型数据 用数组 // 阅读全文
posted @ 2023-12-26 09:15 张心野 阅读(24) 评论(0) 推荐(0)