example9_6.java

来自「《Java程序设计与应用》-张仕斌-源程序 《Java程序设计与应用》-张仕斌」· Java 代码 · 共 35 行

JAVA
35
字号
/*
 * Example9_6.java
 *
 * Created on 2006年10月19日, 下午12:04
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package example9_6;

/**
 *
 * @author Administrator
 */
public class Example9_6 {
    
    /** Creates a new instance of Example9_6 */
    public Example9_6() {
    }
    
    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
        TestThreadMethod t1 = new TestThreadMethod("t1");
TestThreadMethod t2 = new TestThreadMethod("t2");
t1.start();//语句3
t2.start();//语句4

    }
    
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?