-
编写一个线段类 MyLine,要求如下:
主要属性有: x ,y ;类型为Point (查看API)
编写构造方法,如 MyLine(Point p1...
编写一个线段类 MyLine,要求如下:
主要属性有: x ,y ;类型为Point (查看API)
编写构造方法,如 MyLine(Point p1 , Point p2)
编写5个成员方法。如:
检查线段是否位于第一象限check()…
求线段的长度 length() …
判断两条直线是否相交(另一线段作为参数)。
编写一点到该线段(或延长线)的距离
其他方法。
注:编写方法时,考虑利用Point类的方法
编写测试程序-Write a segment class MyLine, requirements are as follows: The main attributes are: x, y type Point (see API) the preparation of construction methods, such as MyLine (Point p1, Point p2) prepared by five members of the method. Such as: Check whether the line segment in the first quadrant check () ... order to segment the length of the length () ... to determine whether the two straight lines intersect (the other segment as a parameter). The preparation of 1:00 to the line segment (or extension) of the distance from other methods. Note: The preparation method, consider using the Point class approach to preparing test program
- 2022-05-10 16:17:22下载
- 积分:1
-
该源码实现了java解压中含有中文的问题,
假设在H盘下有个文件测试.zip 运行该程序就可顺利解压...
该源码实现了java解压中含有中文的问题,
假设在H盘下有个文件测试.zip 运行该程序就可顺利解压-the realization of the java source code containing extract of Chinese, Assuming H site under a paper test. zip operation of the procedure can be successfully extract
- 2022-07-19 10:52:18下载
- 积分:1
-
逐隐逐现的文字特效[推荐使用][适用于IE4++]
逐隐逐现的文字特效[推荐使用][适用于IE4++]
-PV is hidden by the magic words [recommended] [applicable to the IE4]
- 2022-02-12 09:33:05下载
- 积分:1
-
一个程序,用来命名实体识别的生物医学文本挖掘的任务…
生物命名实体识别程序,识别生物医学文献中的基因名。-a program that used to named entity recognition mission in biomedical text mining.
- 2022-01-22 00:20:01下载
- 积分:1
-
本人做的一个JSP的留言本,希望对大家有用!
本人做的一个JSP的留言本,希望对大家有用!-it is a bbs base on jsp I do,I hope it is useful!
- 2022-04-29 06:30:36下载
- 积分:1
-
此代码为java入门程序,及其简单的含义 入门者极易看懂
此代码为java入门程序,及其简单的含义 入门者极易看懂-This code for java entry procedures, and its simple beginners can easily understand the meaning of
- 2022-02-14 07:46:26下载
- 积分:1
-
java教学讲义
java教学讲义-java Teaching Materials
- 2022-07-02 06:06:37下载
- 积分:1
-
serial communications api
java串口通讯api-serial communications api
- 2022-02-20 01:53:34下载
- 积分:1
-
java 基本输入输出 ,很简单的,给自己看看的
java 基本输入输出 ,很简单的,给自己看看的-java basic input and output, it is simple to see for himself the
- 2022-09-29 04:50:03下载
- 积分:1
-
基于J2EE的网络物流系统
用户操作:
1. 录入出库商品信息
2. 查询出库单信息
3. 录入入库商品信息
4. 查询入库单信息
5....
基于J2EE的网络物流系统
用户操作:
1. 录入出库商品信息
2. 查询出库单信息
3. 录入入库商品信息
4. 查询入库单信息
5. 查询商品位置信息
6. 查询商品信息
7. 查询供应商信息
管理操作:
1. 出库单商品信息删除/修改
2. 入库单商品信息删除/修改
3. 供应商信息添加/删除/修改
4. 添加商品分类信息
5. 仓库位置信息添加/删除/修改
6. 职员信息查询/添加/修改/删除
7. 用户权限管理-J2EE-based logistics system users of the network: 1. A commodity information database entry 2. 3 inquiries出库单information. 4 input information storage products. For inquiries, information storage, single 5. 6 merchandise location information query. Commodity Information Query 7. For inquiries, supplier information management: 1. Product Information出库单delete/edit 2. Single-commodity information storage delete/modify 3. Supplier Information Add/Remove/Modify 4. Categories of information add 5. Storage location information to add/delete/modify 6. Staff Information/Add/Modify/Remove 7. User rights management
- 2022-02-27 06:25:39下载
- 积分:1