登录
首页 » Java » 2008010

2008010

于 2009-12-24 发布 文件大小:2KB
0 83
下载积分: 1 下载次数: 25

代码说明:

  编写一个线段类 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)

文件列表:

Myline.class
test.class
test.java

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • dspace-1.7.2-src-release
    dspace1.7.2源码,DSpace(数字空间)系统是由美国麻省理工学院图书馆(MIT Libraries)和美国惠普公司实验室(Hewlett-Packard Labs)合作经过两年多的努力并于2002年10月开始投入使用的,以内容管理发布为设计目标,遵循BSD协议的开放源代码数字存储系统。该系统可以收 集、存储、索引、保存和重新发布任何数字格式、层次结构的永久标识符研究数据。 (dspace1.7.2 source, DSpace (digital space) systems by the U.S. Massachusetts Institute of Technology Library (MIT Libraries) and the U.S. Hewlett-Packard Laboratories (Hewlett-Packard Labs) co-operation, and after two years of hard work began in October 2002 put to use to publish content management for the design of the target, follow the open source BSD license digital storage systems. The system can collect, store, index, preserve and re-publish any digital format, a permanent identifier for the hierarchy of research data.)
    2011-09-23 19:11:58下载
    积分:1
  • codingforYXM
    纯手编的超市会员管理系统,可支持会员注册,会员登录(验证码功能),会员查询,会员删除等功能,界面友好,易于操作。(Pure hand-woven supermarket membership management system that supports membership registration, member login, membership inquiries, membership and delete functions, user-friendly, easy to operate. )
    2013-11-24 10:15:06下载
    积分:1
  • bootstrap-table-master
    说明:  没有功能你想要我写些什么呢?还不少于20个字。。。我去(no everything everybody move go to home)
    2020-06-15 22:23:56下载
    积分:1
  • webchat
    微信公众平台开发,实现简单的微信消息处理(Micro-channel public platform to develop, implement a simple micro-channel message processing)
    2014-03-28 22:09:26下载
    积分:1
  • Common-library
    常用类库 包括vector 几何与映射 Stringdokenizer等(Common library)
    2013-12-15 09:33:25下载
    积分:1
  • (jsp-java-ejb)mainshi
    文件内容丰富,包含 有j2se,jsp,ejb方面面试的经典问题。堪称JAVA程序员面试宝典~~~(File content-rich, contains j2se, jsp, ejb interview classic problem areas. Rated JAVA programmer interview Collection ~ ~ ~)
    2009-09-27 20:46:16下载
    积分:1
  • cmpp2.0
    java 开发的cmpp2.0程序,支持上行,下行发送(java cmpp2.0 program)
    2020-12-25 16:39:04下载
    积分:1
  • HuaWei_Design
    华为内部程序设计培训文档。 值得学习一下。。。
    2009-11-20 18:10:13下载
    积分:1
  • TankClient
    说明:  简单完成坦克作战程序,主要利用Java,在对应平台完成编码、运行(Using Java to complete the compilation of classical game tank battle, complete the operation of tank battle in different machines)
    2019-05-18 08:26:48下载
    积分:1
  • CLIQUE
    CLIQUE(Clustering In QUEst)是一种简单的基于网格的聚类方法,用于发现子空间中基于密度的簇。CLIQUE把每个维划分成不重叠的区间,从而把数据对象的整个嵌入空间划分成单元。它使用一个密度阈值识别稠密单元和稀疏单元。一个单元是稠密的,如果映射到它的对象数超过该密度阈值。(CLIQUE (Clustering In QUEst) is a simple grid based clustering method for the discovery of clusters based on density in subspace. CLIQUE divides each dimension into a non overlapping interval, dividing the entire embedded space of the data object into a unit. It uses a density threshold to identify dense and sparse units. A unit is dense, if the number of objects mapped to it is more than the density threshold.)
    2017-11-30 09:06:53下载
    积分:1
  • 696518资源总数
  • 104509会员总数
  • 10今日下载