文件名称:PA8
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 40kb
- 下载次数:
- 0次
- 提 供 者:
- Nop***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
For this assignment, you will modify and extend your PA1 CS11Turtle programming assignment. You will create multiple turtles (in separate threads) to draw the letters and numbers in parallel. A primer on Java threading can be found here: http://www.javaworld.com/javaworld/jw-06- 2012/120626-modern-threading.html Copy your pa1 single-threaded turtle graphics program to your new pa8 directory. First, you will change the class CS11Turtle to CS11Turtle_Threaded. You will have to change the filename (you just did this with the cp above), class name, constructor name, and all the other places CS11Turtle shows up in your program. You will add (implement) the Runnable interface to your class.
Files to be collected:
?README
?turtleClasses.jar
?CS11Turtle_Threaded.java
Files to be collected:
?README
?turtleClasses.jar
?CS11Turtle_Threaded.java
(系统自动生成,下载前可以参看下载内容)
下载文件列表
CS11Turtle_Threaded.java
turtleClasses.jar