-
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
-
hezeliaotianshi
1、聊天室创建 管理员可以自由的创建嘉宾聊天室,可以随意添加嘉宾的名单、设置主题、时间和简介等有关内容...3、聊天室关闭 管理员可以关闭不再使用的嘉宾聊天室(1, the chat room administrator can create the freedom to create guests chat rooms, can add the list of guests, set the theme, time and brief description of other relevant content ... 3, chat rooms are no longer close the administrator can shut down chat rooms used by guests)
- 2008-05-03 23:14:18下载
- 积分:1
-
ICFFCM
说明: APPLICATION OF ICFFCM segmentation image
- 2019-03-17 20:11:49下载
- 积分:1
-
cypClockDemo
一个利用多线程写的显示时钟窗口的小程序.是我刚学JAVA时的一份心得!(use a multi-threaded write the clock showed a small window procedure. Yes, I am just learning a Java experience!)
- 2006-06-02 18:37:47下载
- 积分:1
-
excelImport
用java实现的excel导入数据库,包括商品和种类的导入(Implemented using java database excel import, including import of commodities and types of)
- 2010-12-23 12:10:19下载
- 积分:1
-
shoupiao
列车购票系统,列车员,用户,购票查询增删改等功能(Train ticketing systems, conductor, users, ticket inquiries CRUD functions)
- 2014-06-18 22:59:40下载
- 积分:1
-
parking_dao
说明: 自己学习ssm框架并根据课题开发的小系统,这是dao模块(learn framework of ssm by myself)
- 2020-06-18 22:00:01下载
- 积分:1
-
FuncExtFunction
An object of this class represents an extension call expression. When the expression executes, it calls ExtensionsTable#extFunction, and then converts the result to the appropriate XObject. @xsl.usage advanced.
- 2013-12-02 14:00:24下载
- 积分:1
-
数据压缩与传输
说明: Java数据压缩与传输实例,可以学习一下实例化套按字、得到文件输入流、压缩输入流、文件输出流、实例化缓冲区、写入数据到文件、关闭输入流、关闭套接字关闭输出流、输出错误信息等(Java data compression and transmission examples, you can learn to instantiate sets of words, get file input stream, compressed input stream, file output stream, instantiate buffer, write data to file, close input stream, close socket and close output Stream, output error message, etc.)
- 2020-04-21 08:10:14下载
- 积分:1
-
FTPUtil
ftp上传下载实例,java源码为原创,自己的项目代码(ftp upload and download examples of java source code for the original project code)
- 2012-11-22 11:34:55下载
- 积分:1