12 2023 档案

摘要:Thread.currentThread() 与 this 的意义 Thread.currentThread() 可以获取当前线程的引用 this 可以理解为调用当前方法的对象的引用 初步分析 代码如下,生成一个线程,并且启动线程。 public class Main { public static 阅读全文
posted @ 2023-12-12 18:01 x1uc 阅读(96) 评论(0) 推荐(1)