-
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
-
ssh
ssh搭建的一个增删改查项目,包括数据库 一键见表 配置文件在webroot-web-info下(ssh build a CRUD projects, including a key table configuration file at webroot-web-info)
- 2015-12-29 14:23:07下载
- 积分:1
-
upd900mib.tar
hp mib用于snmp扫描硬件状态信息(cpu,内存。风扇,电源等信息)(hp mib)
- 2014-02-20 19:30:49下载
- 积分:1
-
tbe
spring中使用aop技术需要用到的aspectj包(In the spring need to use aspectj package using aop technology)
- 2017-05-28 19:41:23下载
- 积分:1
-
Publisher_Manager
一套基于数据库开发的个人出版物管理系统, 使用Hibernate来进行持久化, 数据库连接选用MySQL, 使用java 和 ant来进行连接。 使用JUnit进行测试。
包含源代码、需求分析、文档和测试代码。(A set of publications based on database management systems developed by individuals, using Hibernate to carry out persistence, database connection use MySQL, the use of java, and ant to make a connection. The use of JUnit for testing. Contains the source code, requirements analysis, documentation and test code.)
- 2009-11-23 16:51:54下载
- 积分:1
-
ChatQQ
学好嵌入式,学好java,从最基本的山寨版QQ聊天室开始,该程序已通过测试。。。(good good study,day day up.)
- 2013-11-08 20:13:23下载
- 积分:1
-
ID3
ID3 is data classification algorithm.it is used to generate decision tree from given data set.decision is used to make strategic decision from generated decision tree.
- 2011-09-08 16:58:32下载
- 积分:1
-
18_案例_分析&环境搭建
搭建redis环境搭建,以及查询数据库 缓存优化(Building redis environment)
- 2020-06-25 01:00:01下载
- 积分:1
-
owocx673
用JAVA编写的聊天程序,通过编译,生成类文件,而且功能很是强大()
- 2018-02-11 13:36:59下载
- 积分:1
-
GPS_weizhi
GPS定位,在android4.4下编译通过,可供参考学习(GPS positioning, android4.4 compiler, available for reference study)
- 2016-09-23 15:32:33下载
- 积分:1