文件名称:abc
-
所属分类:
- 标签属性:
- 上传时间:2014-05-25
-
文件大小:2.76kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
試撰寫一程式,由實作Runnable介面的方式建立t1與t2兩個執行緒。t1執行緒每隔1
秒便印出 "Thread 1 is running" 的字串,t2 執行緒每隔2.5 秒便印出 "Thread 2 is
running" 字串,直到每個執行緒執行run() method 10次為止。-Try to write a program, create a way to implement Runnable interface by two threads t1 and t2. t1 thread will be printed every 1 second " Thread 1 is running" string, t2 thread every 2.5 seconds to print the " Thread 2 is running" strings until each thread executes run () method 10 times so far.
秒便印出 "Thread 1 is running" 的字串,t2 執行緒每隔2.5 秒便印出 "Thread 2 is
running" 字串,直到每個執行緒執行run() method 10次為止。-Try to write a program, create a way to implement Runnable interface by two threads t1 and t2. t1 thread will be printed every 1 second " Thread 1 is running" string, t2 thread every 2.5 seconds to print the " Thread 2 is running" strings until each thread executes run () method 10 times so far.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
abc/.classpath
abc/.project
abc/.settings/org.eclipse.jdt.core.prefs
abc/bin/abc/CTest.class
abc/bin/abc/hw15_14.class
abc/src/abc/hw15_14.java
abc/bin/abc
abc/src/abc
abc/.settings
abc/bin
abc/src
abc
abc/.project
abc/.settings/org.eclipse.jdt.core.prefs
abc/bin/abc/CTest.class
abc/bin/abc/hw15_14.class
abc/src/abc/hw15_14.java
abc/bin/abc
abc/src/abc
abc/.settings
abc/bin
abc/src
abc
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.