-
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
-
dwrUtil
dwr工具类,属于对于dwr的封装,希望对大家有帮助,得到大家支持,谢谢(dwr tools, belonging to dwr package, we hope to help, to get everyone to support, thank you)
- 2013-10-28 10:40:39下载
- 积分:1
-
tbe
spring中使用aop技术需要用到的aspectj包(In the spring need to use aspectj package using aop technology)
- 2017-05-28 19:41:23下载
- 积分:1
-
car-type-spider-master
说明: 我这我自己开发的超市进销存系统,包含销售员的管理,商品的管理(I developed my own supermarket purchase, sale and storage system)
- 2020-06-19 00:20:02下载
- 积分:1
-
cmpp2
说明: cmpp工具类,满足了短信收发、状态回复、上行回复等多个功能和多渠道联合开发(CMPP tool class, to meet the SMS sending and receiving, status reply, uplink reply and other functions and multi-channel joint development)
- 2020-12-25 11:19:05下载
- 积分:1
-
split_words
分词程序,正向最大匹配法,JAVA语言。核心思想是从句子最左端开始,单字节扫描匹配,直至句末(Segmentation procedure, forward maximum matching, JAVA language. Core idea is to start from the leftmost sentence, single-byte scan match until end of the sentence)
- 2013-11-04 19:29:54下载
- 积分:1
-
Spring+Mybatis企业应用实战
说明: Spring+Mybatis企业应用实战(Enterprise application practice of Spring + mybatis)
- 2021-01-07 15:51:25下载
- 积分:1
-
orderprocess
使用Apache CXF编写的一个Web Project,想学CXF的可以下载!
(Using the Apache CXF write a Web Project, want to learn the CXF can download!)
- 2011-12-15 09:24:16下载
- 积分:1
-
javase01
javase的第一个练习,对于初学者很有参考价值。(javase first exec, it is useful for fresh)
- 2014-03-02 16:11:56下载
- 积分:1
-
geoMatch
java编程:自己编写的地名相似度匹配算法包括地名相似度、地理位置相似度(java programming: write their own names, including names similarity similarity matching algorithm, the geographical similarity)
- 2010-05-14 20:40:19下载
- 积分:1