文件名称:jiecheng
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2017-05-18
- 文件大小:
- 4kb
- 下载次数:
- 0次
- 提 供 者:
- 黎*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
编写多线程程序,实现如下功能:
(1)一个线程进行阶乘和的运算(1!+2!+3!+……+10!),每次阶乘计算时间随机间隔100-1000毫秒;
(2)另一个线程每隔1秒时间读取上个线程的计算等式和运算结果,并在图形界面中实时显示。-Write multithreaded programs to achieve the following functions:
(1) a thread performs factorial and arithmetic operations (1!+2!+3!+......+10) each factorial calculates a random interval of 100-1000 milliseconds
(2) another thread reads the calculation equation and operation result of the last thread every second, and displays it in the graphical interface.
(1)一个线程进行阶乘和的运算(1!+2!+3!+……+10!),每次阶乘计算时间随机间隔100-1000毫秒;
(2)另一个线程每隔1秒时间读取上个线程的计算等式和运算结果,并在图形界面中实时显示。-Write multithreaded programs to achieve the following functions:
(1) a thread performs factorial and arithmetic operations (1!+2!+3!+......+10) each factorial calculates a random interval of 100-1000 milliseconds
(2) another thread reads the calculation equation and operation result of the last thread every second, and displays it in the graphical interface.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
jiecheng
........\ComputThread.class
........\M$1.class
........\M$2.class
........\M.class
........\ReadThread.class