-
Mypicture
定义4个类,MyShape、MyLine、MyRectangle和MyOval,其中MyShape是其他三个类的父类。MyShape为抽象类,包括图形位置的四个坐标;一个无参的构造方法,将所有的坐标设置为0;一个带参的构造函数,将所有的坐标设置为相应值;每个坐标的设置和读取方法;abstract void draw(Graphics g)方法。MyLine类负责画直线,实现父类的draw方法;MyRectangle负责画矩形,实现父类的draw方法;MyOval负责画椭圆,实现父类的draw方法。编写一个应用程序,使用上面定义的类,随机选取位置和形状,绘制20个图形。(Defines four classes, MyShape, MyLine, MyRectangle and MyOval, which MyShape the other three parent class. MyShape is an abstract class, including graphics position four coordinates a no-argument constructor, all the coordinates are set to 0 a parameterized constructor, all the coordinates is set to the corresponding values each coordinate set and reading method abstract void draw (Graphics g) method. MyLine class is responsible for drawing straight lines, to achieve the draw method of the parent class MyRectangle responsible for drawing rectangles, to achieve the parent class draw method MyOval responsible painted oval, draw method to achieve the parent class. Write an application that uses the class defined above, randomly selected location and shape, draw 20 graphics.)
- 2021-04-14 09:08:55下载
- 积分:1
-
Test_f1
check that .dex with wrong magic is rejected.
- 2013-11-18 23:49:09下载
- 积分:1
-
Pindlebot
暗黑2 专门 kpbot,早期版本,能用(Diablo 2 special kpbot, early version, can be used)
- 2020-06-18 17:20:01下载
- 积分:1
-
javastore
仓库管理系统,JAVA语言+SQL数据库
(Warehouse management system, JAVA+ SQL database language)
- 2013-09-24 04:16:43下载
- 积分:1
-
MessageImage
java编写的小游戏,通过在屏幕上显示多种格式的文字,使得观看者不得不来回换晃头,起到活动脖子的功效(java game, prepared by the screen display of text in multiple formats, making the viewer had to head back and forth for Huang played the effectiveness of the activities of the neck)
- 2009-04-21 19:57:53下载
- 积分:1
-
ActiveXDemo
C# 开发ActiveX插件,可供其他语言调用,已测试C#,网页,java均可调用(C# Development ActiveX plug-in, calling for other languages, have been tested C#, web, java can call)
- 2013-12-20 17:43:56下载
- 积分:1
-
calculator
java实用小计算器,模仿windows自带的计算器,功能全面(Java practical calculator, imitate small Windows calculator attached, comprehensive functions)
- 2010-05-06 18:52:30下载
- 积分:1
-
GISToolkitSource
GISToolkit是一个免费基于java的mapping工具包,它能够从多种数据源读取地理数据并把信息显示给用户,还能够直接编辑存在数据库中的地理特性。(GISToolkit is a free java based on the mapping tool kit, it can read from multiple data sources of geographic data and the information displayed to the user, can also directly edit the existing database of geographic features.)
- 2010-05-30 20:58:16下载
- 积分:1
-
utils
utils.rar 包含各种java工具类,方便好用。(It is a Tools of java class.)
- 2015-12-19 21:34:29下载
- 积分:1
-
spring-security-master
一个使用spring-security管理权限控制的具体示例(A concrete example of using spring-security to manage permission control)
- 2019-01-23 11:06:18下载
- 积分:1