登录
首页 » Java » java

java

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

  • ioFile
    java io体系中的File类的操作,一个个的小例子,便于初学者学习(File class in java io system operation, a small example easy for beginners to learn)
    2012-04-19 10:13:40下载
    积分:1
  • ChatClient and ChatServer.src
    说明:  本系统是基于java开发的聊天室。服务端和客户端可以发送和接收消息,由于未写出服务端窗口,聊天记录只会在输出的窗口显示。如果服务器还未启动,客户端不能利用聊天室发消息。若在运行过程中服务器断开,系统会有提示。(This system is a chat room based on java. Both the server and the client can send and receive messages. Since the server window is not written out, the chat record will only be displayed in the output window. If the server has not been started, the client can not use the chat room to send messages. If the server is disconnected during operation, the system will be prompted.)
    2019-06-20 09:15:51下载
    积分:1
  • hi31sp20stru21_emp
    spring2.0 hibernate3.3 struts2.1 框架搭建(spring2.0 hibernate3.3 struts2.1)
    2015-09-06 05:49:43下载
    积分:1
  • WordCount
    hadoop mepreduce wordcount 代码(hadoop mepreduce wordcount)
    2013-08-08 10:13:29下载
    积分:1
  • GUI
    这是我做一个日志管理系统的,登录界面!这个里面有很多控件的使用,很有参考性!(it is a good ui)
    2011-12-07 20:07:51下载
    积分:1
  • 100java
    这是Java编程的好资源,是有关100个例子的,欢迎下载(This is a good Java programming resources, is about 100 examples, please download)
    2011-12-09 17:56:40下载
    积分:1
  • JSF
    The C Programming Language若干行代码网络平台输出测试(A "Hello, World!"program generally is a computer program that outputs or displays the message "Hello, World!". Such a program is very simple in most programming languages, and is often used to illustrate the basic syntax of a programming language. It is often the first program written by people learning to code.)
    2020-06-22 14:40:01下载
    积分:1
  • SpringBoot
    springboot框架搭建的一套框架,里面集成了缓存,权限的控制的一些功能(Springboot framework is a set of framework, which integrates some functions of caching, permission control.)
    2020-06-25 19:40:02下载
    积分:1
  • main
    Source requirements for at least 5 C or Java source code or programming or other good source of learning materials,
    2015-12-15 02:32:07下载
    积分:1
  • Tencent
    VBS 运行 调用 腾讯验证码 通过maxthon 可 实现自动调用 (VBS operation called Tencent authentication code can be realized through maxthon Automatic Call)
    2007-04-30 10:19:07下载
    积分:1
  • 696522资源总数
  • 104029会员总数
  • 31今日下载