摘要: 并行与并发: 方式一:继承Thread类,重写run方法 package com.example.demo;​public class test_thread extends Thread {​ public void run(){ for (int i = 0; i < 100; i++) { i 阅读全文
posted @ 2021-05-17 23:01 wly2zZ 阅读(258) 评论(0) 推荐(0)