摘要
Java语言是目前使用最为广泛的网络编程语言之一。文章首先分析了多线程的机制及其特性,然后通过实例来研究如何用创建Thread类的子类和实现Runnable接口两种不同方法实现多线程的编程。
Java language is one of the most popular programming languages,which has the features of being simple,transportable,flexible and multi-threaded.This article first makes analyses on the mechanism and characteristics of multi-thread system and then makes some researches on how to build the subtypes of the Thread and how to implement the multi-thread programming by using Runnable interface.
出处
《天津职业院校联合学报》
2011年第8期58-61,共4页
Journal of Tianjin Vocational Institutes