_123_Java_创建线程的两种方式

Thread类      /* * 创建多线程的第一种方式:继承java.lang.Thread类. * * */ public class _001_TestThread { public static void main(String[] args) { //创建一个子对象 _001_TestThread.SubThread subThread = new _001_Te
相关文章
相关标签/搜索