3. 设计一个接口Shape,接口中包含方法:Draw和Resize。定义一些具体类,如:Point、Line、Circle、Rectangle等,每个类都实现接口Shape。Draw方法绘制图形,Resize方法改变图形大小。用Java实现这些接口和类,并用测试类测试它们。 注意:不需要真正绘制图形,如Line的Draw方法只需输出下面文本即可: “直线的起点是(x1,y1,),终点是(x2,y2)”
上传时间: 2015-02-09
上传用户:frank1234
ADI BF535 DSP 图象处理颜色空间RGB to Ycrcb转换汇编优化源码
上传时间: 2014-06-07
上传用户:shinesyh
To explain how to use CVS.
上传时间: 2013-12-18
上传用户:璇珠官人
A Waiter relays an order Object to a Producer, waits in an independent thread during the production, and then delivers the result using a Consumer callback method.
标签: independent production Producer Waiter
上传时间: 2015-02-10
上传用户:lepoke
Conservator extends on the concept of a Flyweight Factory by allowing shared Flyweight objects to be mutated after creation without undesired side effects.
标签: Flyweight Conservator allowing extends
上传时间: 2014-01-06
上传用户:cuibaigao
Java Clock is a FREE Java applet used to display a clock on your Web pages. You can display either analog or digital clock. The full source code of this applet is also available (visit my home page to download it). You may use this applet on your Web pages WITHOUT paying me fee or royalty as long as credit is given (a link to my home page is enough).
标签: display Java applet either
上传时间: 2014-01-12
上传用户:woshiayin
use GA to deal with 随机机会约束规划
上传时间: 2013-12-10
上传用户:chenjjer
use GA to deal with 模糊期望值模型问题例题
上传时间: 2013-12-08
上传用户:coeus
use GA to deal with 模糊机会约束规划问题例题
上传时间: 2015-02-10
上传用户:sardinescn
use GA to deal with 模糊随机规划例题
上传时间: 2013-12-19
上传用户:牧羊人8920