登录
首页 » Java » complex

complex

于 2019-04-13 发布
0 305
下载积分: 1 下载次数: 1

代码说明:

说明:  编写一个复数类,可以进行复数加法和减法运算。编写一个包含main方法的类(应用程序)测试该复数类。要求该复数类至少包含一个无参的构造方法和一个带参的构造方法;数据成员包括复数的实部和虚部,为double类型;包括两个方法,分别实现复数的加法和减法运算。(Write a complex class, which can add and subtract complex numbers. Write a class (application) containing the main method to test the complex class. The complex class is required to include at least one parametric construction method and one parametric construction method; the data members include the real and imaginary parts of the complex, which are of double type; and two methods are included to realize the addition and subtraction operations of the complex respectively.)

文件列表:

1.txt, 1162 , 2019-04-13
complex.txt, 1162 , 2019-04-13
新建文件夹, 0 , 2019-04-13

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

发表评论

0 个回复

  • 210166
    一个使用struts+hibernate制作的Blog站点的源码,非常经典(A use struts+ hibernate make Blog site source code, very classic)
    2017-05-29 00:44:40下载
    积分:1
  • Smsproject
    Java 操作串口 的开发实例,非常实用,方法已经封装好了,直接调用即可。(java )
    2010-09-10 14:54:01下载
    积分:1
  • Java_diside
    java 设计模式chm版,内容丰富。学习好(chm version of java design patterns, rich in content.)
    2009-04-26 16:05:55下载
    积分:1
  • F__1562205512848
    说明:  java 操作文件写入,读取。。。。。。。。。。。。(Java operation file write, read)
    2020-06-25 17:00:02下载
    积分:1
  • IconLoader
    get Graphics Configuration Source Code for Andriod.
    2013-12-02 15:44:44下载
    积分:1
  • SunKingJniUtil
    java Jni的一些应用 removeSystemMenu flashTitle setStayOnTop(java jni program,removeSystemMenu flashTitle setStayOnTop)
    2013-11-06 11:28:39下载
    积分:1
  • SSM-DB2
    SSM(struts2+spring+mybatis+db2整合案例)(SSM (struts2+spring+mybatis+db2 integration scenarios))
    2013-10-10 09:40:08下载
    积分:1
  • operator
    说明:  一个操作系统的课程设计,主要是利用Java编写的,期间用到了数据库技术(An operating system, curriculum design, mainly using Java, during the use of database technology)
    2009-09-01 10:40:41下载
    积分:1
  • ch02
    java程序设计教程第二章例题,关于输入输出的相关代码(java programming tutorial Chapter II examples, the relevant code on the input and output)
    2010-12-19 22:32:08下载
    积分:1
  • miniCAD
    用java写的miniCAD软件,可绘画,改变位置改变颜色等(miniCAD written by Java)
    2013-12-26 16:16:00下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载