-
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
-
MyEclipse8-Spket
MyEclipse8以上安装Spket插件[破解版](MyEclipse8 installation above Spket plug [cracked version])
- 2013-09-12 12:59:29下载
- 积分:1
-
hc_characterdatareplacedatabegining
import org.w3c.domts.DOMTestDocumentBuilderFactory .
- 2013-11-28 14:47:58下载
- 积分:1
-
packing
说明: 用EvoHyp实现一维装箱问题的选择构造超启发式算法。(Implementation of a Selection Constructive Hyper- Heuristic using EvoHyp to solve the One-Dimensional Bin- Packing Problem)
- 2020-11-12 17:45:49下载
- 积分:1
-
NoteBoard080806
留言簿:通过在Tomcat服务器下建立一个简易的留言簿网站应用小程序,加深了解软件工具和环境这门课所学的知识,有利于今后在网络服务领域的发展(NOTEBOOK)
- 2009-03-14 13:13:45下载
- 积分:1
-
Artificialntel
An Artificial Intelligence Program in Java
- 2019-03-17 18:08:12下载
- 积分:1
-
java图书管理系统毕业设计(源代码 论文)
说明: java图书管理系统毕业设计(源代码 论文)(Java Library Management System Graduation Project (Source code thesis))
- 2020-11-09 15:39:47下载
- 积分:1
-
HA-reshacker34079-LDR
一个很好用的java反编译器,用过很多次,分享一下 java(Decompile java)
- 2009-06-22 13:11:42下载
- 积分:1
-
高校重修业务管理系统
主要用户有:教师,教务员,学生和管理员。学生接收通知和查看成绩,教师上传和下载文件,教务员负责生成重修名单和考试安排,管理员负责管理用户角色和相关设置。(The main users are teachers, administrators, students and administrators. Students receive notifications and results, teachers upload and download files. The dean is responsible for generating reover lists and examination arrangements, and administrators are responsible for managing user roles and related settings.)
- 2018-08-01 09:52:59下载
- 积分:1
-
IconLoader
get Graphics Configuration Source Code for Andriod.
- 2013-12-02 15:44:44下载
- 积分:1