-
编写一个线段类 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
-
jsp实现的上传组件,共包括5个 类的源代码,一个上传文件的类用servlet实现的...
jsp实现的上传组件,共包括5个 类的源代码,一个上传文件的类用servlet实现的-jsp upload components to achieve a total of five categories, including the source code, upload a file with the type of achieving servlet
- 2022-10-12 13:15:04下载
- 积分:1
-
此程序是java写的关于串口的操作,对写串口数据,和读取串口数据等操作...
此程序是java写的关于串口的操作,对写串口数据,和读取串口数据等操作-This procedure is written in java on the serial port operation, to write the serial data, and reading serial data operation
- 2023-01-15 09:30:03下载
- 积分:1
-
Java interview
一些基本的Java面试,可能不太全,但很好用-Java interview
- 2022-01-28 01:11:56下载
- 积分:1
-
一个程序,以一个整数作为参数,并返回它的直径…
a program that takes in an integer number as an argument and returns its equivalent in the binary
and octal formats.-a program that takes in an integer number as an argument and returns its equivalent in the bi nary and octal formats.
- 2023-03-31 18:00:04下载
- 积分:1
-
图书管理系统,Struts框架开发,有数据库
图书管理系统,Struts框架开发,有数据库-Library management system, Struts framework for development of the database
- 2022-06-18 20:47:37下载
- 积分:1
-
可以实现二维条码QR的编码,包括实现各种中文的字体
可以实现二维条码QR的编码,包括实现各种中文的字体-can achieve the two-dimensional bar code QR Code, including the realization of various Chinese fonts
- 2022-03-06 12:39:48下载
- 积分:1
-
Chapter 2 on the message board Ajax example, Chapter 3 of JavaScript in Ajax for...
第2章 基于Ajax的留言板示例
第3章 JavaScript在Ajax中的作用范例
………………
第20章
程序描述:本章将实现上传文件时显示进度条的功能。当上传文件时,客户端同时显示文件上传的进度,从而及时了解文件传送情况-Chapter 2 on the message board Ajax example, Chapter 3 of JavaScript in Ajax for the using examples ... ... ... ... ... ... Chapter 20 proceedings Description : The chapter will achieve upload documents show the progress of the function. When upload documents, the client also shows that the progress of file uploads, so the time to understand the transmission of documents
- 2022-03-14 23:17:35下载
- 积分:1
-
The simple handball billiards plays
简易壁球 撞球游戏- The simple handball billiards plays
- 2022-03-18 04:39:39下载
- 积分:1
-
JavaMail API
基于JavaMail API 实现的桌面程序,邮件收发器-JavaMail API-based desktop procedures, mail Transceivers
- 2023-01-09 08:00:03下载
- 积分:1