文件名称:NumberPrint
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2013-07-09
- 文件大小:
- 1kb
- 下载次数:
- 0次
- 提 供 者:
- Do***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
问题的描述
//启动3个线程打印递增的数字, 线程1先打印1,2,3,4,5,
//然后是线程2打印6,7,8,9,10
//然后是线程3打印11,12,13,14,15.
//接着再由线程1打印16,17,18,19,20....
//以此类推, 直到打印到75. 程序的输出结果应该为:-Problem Descr iption// Start three threads print incrementing number, thread a first printing 1,2,3,4,5,// then thread 2 print 6,7,8,9,10// then thread 3 Print 11,12,13,14,15// followed by the thread a print 16,17,18,19,20 ....// and so on, until the print to 75. program output should be :
//启动3个线程打印递增的数字, 线程1先打印1,2,3,4,5,
//然后是线程2打印6,7,8,9,10
//然后是线程3打印11,12,13,14,15.
//接着再由线程1打印16,17,18,19,20....
//以此类推, 直到打印到75. 程序的输出结果应该为:-Problem Descr iption// Start three threads print incrementing number, thread a first printing 1,2,3,4,5,// then thread 2 print 6,7,8,9,10// then thread 3 Print 11,12,13,14,15// followed by the thread a print 16,17,18,19,20 ....// and so on, until the print to 75. program output should be :
(系统自动生成,下载前可以参看下载内容)
下载文件列表
NumberPrint.java