[JAVA]JAVA多线程实现方法之——实现Runnable接口
摘要:
public class MultiThread { public static void main(String[] args) { Thread t1 = new Thread(new ThreadDemo("线程1")); Thread t2 = new Thread(new ThreadDemo("线程2")); t1.start(... 阅读全文
posted @ 2019-01-28 13:54 郑晓龙 阅读(120) 评论(0) 推荐(0)
浙公网安备 33010602011771号