摘要: 创建线程的三种方法 继承Thread类 使用时直接new 该实现类然后执行start方法便可以运行线程. public void testSearchService() throws ExecutionException, InterruptedException { new ThreadTest( 阅读全文
posted @ 2022-05-07 14:52 RainbowMagic 阅读(125) 评论(0) 推荐(0)