登录
首页 » Java » java

java

于 2011-11-15 发布 文件大小:4KB
0 166
下载积分: 1 下载次数: 3

代码说明:

  修改实验7中定义的Rectangle类,使之拥有两个构造方法。其中一个是默认的,它使两点的坐标都为(0,0) 另一个带有4个参数,求出左上角和右下角点坐标为(2.1,3.2)、(5.2,6.3)的矩形的周长及面积,再利用带参数的构造方法创建Rectangle对象,求出左上角和右下角点坐标为(1,2)、(6.8,10.5)的矩形的周长及面积.(Modify the definition of experiment 7 Rectangle class, so that it has two constructors. One is the default, it makes two points of the coordinate of (0,0) the other with four parameters, find the upper left and lower right corner coordinates (2.1,3.2), (5.2,6.3) and perimeter and area of ​ ​ a rectangle, and then use a parameterized constructor method to create a Rectangle object, find the upper left and lower right corner coordinates (1,2), (6.8,10.5) rectangle of perimeter and area.)

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

发表评论

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
  • shorttoc
    介绍LeTeX的使用,是一本入门教程,文风很好,有很多例子,很简洁!(manufacturer of bandages/disposable with ISO/CE from china www.elasticbandage.com)
    2010-10-20 10:35:18下载
    积分:1
  • WAS-example
    使用WAS对Web应用程序进行负载测试,WAS教材(Using WAS for load testing Web applications)
    2013-08-01 21:18:05下载
    积分:1
  • OralceBMPMgr
    大型客户关系管理系统 oracle数据库 附上完整需求分析说明 功能没有完全实现 有待完善 有完整html代码(Large-scale customer relationship management system oracle database attach a complete needs analysis function is not fully complete html code needs to be improved)
    2012-11-29 23:13:48下载
    积分:1
  • FXML-LoginDemo
    this is a good example on fxml for javafx(javafx fxml example.)
    2012-12-10 15:49:47下载
    积分:1
  • Count3Quit1
    数三退一,网友多指教,我是一名初学者,请多指教!(Number three back, enlighten more users)
    2012-09-07 02:16:36下载
    积分:1
  • Java.Web1200.part6
    是一本关于javaweb方面的书籍,里面有很多的学习案例。非常的实用(A on javaweb aspects of books, there are a lot of case study. Very practical)
    2012-12-07 23:55:11下载
    积分:1
  • SumCode
    测试函数行数,计算每个合格的java文本的函数行数(sum code)
    2012-05-06 09:59:57下载
    积分:1
  • JCalender-1.3.2
    说明:  adding a java calendar for your project, good luck
    2019-01-05 16:13:44下载
    积分:1
  • DRWyuanliyingyong
    DWR 原理英文原版。希望能对学习该技术的人员起到作用。(DWR principle of the English original. The hope is to learn the art will play a role.)
    2013-12-18 16:55:04下载
    积分:1
  • 696516资源总数
  • 106618会员总数
  • 4今日下载