登录
首页 » Java » complex

complex

于 2019-04-13 发布 文件大小:1KB
0 170
下载积分: 1 下载次数: 0

代码说明:

  编写一个复数类,可以进行复数加法和减法运算。编写一个包含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.)

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

发表评论

0 个回复

  • railway
    一个火车三维虚拟场景,用户可以自行设计轨道、车厢,并可开动、停止火车。(Train a three-dimensional virtual scene, the user can design their own track, car, and start and stop the train.)
    2020-09-13 15:57:58下载
    积分:1
  • BBClique.java
    分支限界算法求最大团问题,java源码,分支限界法的一个经典问题解决。(A branch and limit method for solving the problem of the maximum mass)
    2018-04-28 17:53:05下载
    积分:1
  • LocationSimulatorLeLs
    LocationSimulator中国移动LeLs接口模拟器(LocationSimulator China Mobile LeLs Interface Simulator)
    2009-09-29 12:39:58下载
    积分:1
  • BUAA_2019_OO_CODE
    2019北航面向对象课设12个项目的代码(BUAA 2019 Object Oriented CODE)
    2020-06-16 02:00:01下载
    积分:1
  • Strut2_Example
    用JAVA2EE编写的一个图书管理系统实现了基本的结束还书功能(The written Java2EE a library management system to achieve the basic end also book)
    2013-05-20 17:46:48下载
    积分:1
  • nsg2
    说明:  在NS2中一种用于把拓扑结构自动生成脚语言的工具:nsg2(An in NS2 topology is used to automatically generate the foot of language tools: nsg2)
    2011-03-25 19:49:46下载
    积分:1
  • ownerElement02
    this is set by subclasses, but don t make it public.
    2014-02-25 11:22:56下载
    积分:1
  • commons-collections4-4.2-bin
    说明:  因为某些国家的进口管制限制,Java发布的运行环境包中的加解密有一定的限制。比如默认不允许256位密钥的AES加解密,解决方法就是修改策略文件。(Because of the restrictions of import control in some countries, there are some restrictions on the encryption and decryption in the operating environment package released by Java. For example, AES encryption and decryption of 256 bit key is not allowed by default. The solution is to modify the policy file.)
    2020-01-02 11:38:40下载
    积分:1
  • Spring_0200_IOC_Introduction
    java spring的IOC的源码,对学习spring的IOC很有帮助(Java spring IOC source code, to learn spring IOC helpful)
    2012-12-01 12:54:08下载
    积分:1
  • JavaVistaLoginframe
    这是一个仿VIsta界面的源码,里面这个界面和vista得界面很相似。(This is an imitation VIsta source code interface, which interfaces of this interface and the vista was very similar.)
    2010-03-14 19:48:59下载
    积分:1
  • 696516资源总数
  • 106562会员总数
  • 4今日下载