登录
首页 » Java » java

java

于 2011-11-15 发布 文件大小:4KB
0 200
下载积分: 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 个回复

  • ACT_IBM
    说明:  rational software architect activation
    2019-07-06 04:44:35下载
    积分:1
  • C3O0Jar
    说明:  c3p0数据库连接jar,有需要其他的可以联系up(the connector of DB by c3p0)
    2019-05-02 15:47:38下载
    积分:1
  • yymDB
    实现了一个简单的数据库功能.包括 录入,查询,修改,显示所有记录,等等的基本的数据库功能 .(It implements a simple DB function,includes inputting,querying,modifying and displaying all the records,etc.)
    2005-07-09 19:27:17下载
    积分:1
  • javaFX_Events-listeners
    这是一个ppt介绍了一下javaFX中的listener,相信初学者能够学习(This is a ppt presentation a bit javaFX the listener, I believe that beginners can learn)
    2013-12-06 12:01:49下载
    积分:1
  • Inaccessible1
    Tests bounded type parameters declared on methods.
    2013-11-18 22:06:19下载
    积分:1
  • axion
    开源的axion的数据库代码,代码写的非常好(Axion database open source code, code written in a very good)
    2021-04-19 15:58:51下载
    积分:1
  • cms_v20_src
    内容管理系统,可以管理栏目、内容,可管理权限(Content management system to manage the program, content, administrative rights can be)
    2009-02-18 10:25:05下载
    积分:1
  • foreign-iframe-subresource
    The this keyword evaluates to the this value of the execution context.
    2013-12-24 19:23:59下载
    积分:1
  • LatinKeyboardBaseView
    should be replaced with ones to its base class Source Code for Andriod.
    2014-01-12 18:18:16下载
    积分:1
  • TanKeWar
    坦克大战单机版,有5关,不通的难度,模仿经典游戏坦克大战开发的(ank war single version, there are 5 passes, impractical difficulty, imitation of classic game tank war development.)
    2018-07-09 21:01:17下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载