-
2008010
编写一个线段类 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)
- 2009-12-24 14:03:10下载
- 积分:1
-
car-type-spider-master
说明: 我这我自己开发的超市进销存系统,包含销售员的管理,商品的管理(I developed my own supermarket purchase, sale and storage system)
- 2020-06-19 00:20:02下载
- 积分:1
-
java作业
说明: 初学java的可以借鉴,学java的可以借鉴学java的可以借鉴(Lessons for beginners of Java)
- 2020-06-17 20:40:04下载
- 积分:1
-
Java
Java是一种可以撰写跨平台应用软件的面向对象的程序设计语言。Java 技术具有卓越的通用性、高效性、平台移植性和安全性,广泛应用于PC、数据中心、游戏控制台、科学超级计算机、移动电话和互联网,同时拥有全球最大的开发者专业社群。(Java is an object-oriented programming language that can write cross platform application software. Java technology has excellent versatility, high efficiency, platform portability and security. It is widely used in PC, data center, game console, scientific supercomputer, mobile phone and Internet. It also has the largest developer community in the world)
- 2018-06-17 21:56:35下载
- 积分:1
-
SessionListener
防止一个用户多次登陆,session统计在线人数(To prevent a user repeatedly landing, session statistics on the number of online)
- 2009-03-06 12:59:47下载
- 积分:1
-
lexical-011
The following words are used as keywords in proposed extensions and are therefore reserved to allow for the possibility of future adoption of those extensions.
- 2013-12-25 10:49:21下载
- 积分:1
-
lib(1)
说明: 电信公司有UNIX服务器出租业务,针对
该出租业务需要一套办公系统来提升办事
效率,提升该业务信息化程度(无纸化
办公),我们的系统就是针对该出租业务
而提供的完整解决方案。(Telecom companies have UNIX server rental business.
The rental business requires an office system to upgrade its services.
Efficiency, improve the degree of informatization of the business (paperless)
Office), our system is for the rental business.
And provide a complete solution.)
- 2019-01-21 10:11:59下载
- 积分:1
-
Trasform
二进制、十进制、八进制、十六进制的相互转换,及JTextField键盘事件的处理(Binary, decimal, octal, hexadecimal, mutual conversion, and the handling of keyboard events JTextField)
- 2010-02-08 14:50:32下载
- 积分:1
-
DxUtil
check Verify Exception Source Code for Andriod.
- 2013-12-02 14:15:02下载
- 积分:1
-
jsq
该代码是在原有的程序基础上,,进行对计算器的修改。。(The code is based on the original program, to carry out modifications to the calculator. .)
- 2011-08-06 16:58:03下载
- 积分:1