-
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
-
从Socket4c++中继承的TCP类,可以直接调用来实现网络功能
从Socket4c++中继承的TCP类,可以直接调用来实现网络功能-Socket4c inherited from the TCP category, called directly to the network function
- 2022-05-31 04:42:48下载
- 积分:1
-
可以将一个网站里面的内容全部拷贝下来,我试了一下,仿佛只能下载当前网页里面的内容。而不是整个网站里的所有东东。...
可以将一个网站里面的内容全部拷贝下来,我试了一下,仿佛只能下载当前网页里面的内容。而不是整个网站里的所有东东。-can be inside a website all copies of the content down, I tried it, as if the current website can download the contents inside. Instead throughout the site all Dongdong.
- 2022-02-18 16:26:23下载
- 积分:1
-
ICA_English_Tutorial_Word_File
Imperialist Competition Tutorial - English
- 2013-04-26 21:15:00下载
- 积分:1
-
tut-rest-master
You re creating an API that clients need to consume across the web.
You want to open up your organization s data to consumption by varied clients across the web.
You need to integrate your application with other applications inside your own organization, but you don t have control over the languages, tools, or frameworks for those applications.
- 2014-03-18 11:30:50下载
- 积分:1
-
用于网络监控,监听本机器所有发送接收的数据,即sniff技术,
用于网络监控,监听本机器所有发送接收的数据,即sniff技术,-for network monitoring, the monitoring machines all send and receive data, or sniff,
- 2022-01-26 01:06:48下载
- 积分:1
-
开源工具类库com.google.zxing
使用开源工具类库com.google.zxing,实现二维码的编解码(Use of open-source tool library com.google.zxing, two-dimensional code codec)
- 2012-10-10 21:14:29下载
- 积分:1
-
ContractManager
本文件夹中的Model目录下包含了系统的数据库模型图和系统建模图,分别使用PowerDesigner(the folder directory Model of the system contains a database model maps and map system modeling, using PowerDesigner)
- 2007-06-27 15:33:36下载
- 积分:1
-
多线程服务器源代码,基于winsock2编写
多线程服务器源代码,基于winsock2编写-server_mutilthread.cpp,base on winsock2
- 2022-02-06 03:02:41下载
- 积分:1
-
windows网络编程
多个WINDOWS SOCKET 编程实例,基础
本书专门讨论Windows网络编程技术,覆盖Windows 95/98/NT 4/2000/CE平台。
内容包括NetBIOS和Windows重定向器方法、Winsock方法、客户端远程访问服务器方法。
本书论述深入浅出、用大量实例详解了微软网络API函数的应用。
配套光盘包含了所有实例代码,方便读者使用。本书适合中、高级程序设计人员以及网络设计与管理人员参考。
- 2023-06-01 03:25:05下载
- 积分:1