登录
首页 » Java » java

java

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

  • video-edit-process
    视频剪辑处理,简易的操作界面,友好的帮助提示,让你轻轻松松对视频文件进行剪辑处理.(video clips, simple interface, with the help of friendly tips Let your light-hearted video clips document processing.)
    2007-04-24 13:25:31下载
    积分:1
  • database
    focus on writing SQL queries. In addition, you will embed your SQL queries into Java (using JDBC) to implement a “Fakebook Oracle,” a standalone program that answers several queries about the Fakebook database
    2012-11-06 04:47:55下载
    积分:1
  • Impact-0.7.5
    【科学计算】冲击动力学非线性有限元数值仿真开源软件的源程序(【scientific computing】 dynamic nonlinear finite element numerical simulation of open source software source code)
    2010-09-28 18:02:35下载
    积分:1
  • TrmSim
    基于信誉的无线传感器网络模型。用java编写的(Trust and Reputation Models Simulator for Wireless Sensor Networks。the program is implemented by java)
    2013-11-10 22:05:55下载
    积分:1
  • java
    这是一个以JAVA编写的程序,本人还没有试过,是一个简单的温度控制系统(this is a Java programs written, I have not tried, is a simple temperature control system)
    2005-05-06 10:43:12下载
    积分:1
  • eayl-iostream
    struts in action, 详细介绍action,form的使用方法,经典(Struts in action, introduces the usage of action,form in detail.)
    2018-09-16 07:16:41下载
    积分:1
  • chapter06_2
    再上船一些简单的java源代码,这里请大家笑纳了(again embarkation some simple java source code, here please the heart)
    2007-07-02 12:24:38下载
    积分:1
  • VCardParser_V40
    vCard parser for vCard 4.0.
    2013-11-21 22:07:30下载
    积分:1
  • spring-demo
    spring demo as spring boot
    2020-06-25 14:40:02下载
    积分:1
  • source
    JDWP 是 Java Debug Wire Protocol 的缩写,它定义了调试器(debugger)和被调试的 Java 虚拟机(target vm)之间的通信协议。 JDWP 协议介绍 这里首先要说明一下 debugger 和 target vm。Target vm 中运行着我们希望要调试的程序,它与一般运行的 Java 虚拟机没有什么区别,只是在启动时加载了 Agent JDWP 从而具备了调试功能。而 debugger 就是我们熟知的调试器,它向运行中的 target vm 发送命令来获取 target vm 运行时的状态和控制 Java 程序的执行。Debugger 和 target vm 分别在各自的进程中运行,他们之间的通信协议就是 JDWP。(JDWP is Java Debug Wire Protocol)
    2019-04-25 11:00:32下载
    积分:1
  • 696518资源总数
  • 106161会员总数
  • 5今日下载