ex_18b.java

来自「JAVA分布式程序学习的课件(全英文)」· Java 代码 · 共 19 行

JAVA
19
字号
// program to illustrate the use of threads
// based on Deitel text ex. 13.3

import java.io.*;
import Server;

public class Ex_18b  
{
	
	public static void main(String[] args)
	{
           Server theServer = new Server();
	   for (int i=0; i<100; i++) 
              theServer.showMessage(i + "");
	}
} // end class Ex_18b


⌨️ 快捷键说明

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