摘要
线程是应用程序的执行线索,在程序中实现多线程可以提高程序的执行效率.本文介绍了Java语言中多线程的两种实现方式,并分别举例说明了各自的特点、格式以及运行结果.
Thread is the clues of the application program ,which can improve the efficiency of program. This article describes two ways of the multi -thread is implemented in the Java language, and illustrate their characteristics, format, and running results.
出处
《商丘职业技术学院学报》
2010年第2期31-33,共3页
JOURNAL OF SHANGQIU POLYTECHNIC
关键词
JAVA
多线程
线程类
接口
Java
multi-thread
thread class
interface