了解Thread类

了解Thread类 1. 设置/判断 后台进程 查看代码 class test { public static void main(String[] args) { Thread thread = new Thread( () -> { for (int i = 0;i < 5;i++) { Sys
posted @ 2024-04-10 11:08  许木7  阅读(1)  评论(0编辑  收藏  举报