登录
首页 » Java » complex

complex

于 2019-04-13 发布
0 231
下载积分: 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 个回复

  • BookStoreJava
    简单的书店管理系统,是课设期间教师指导完成的,希望会对大家有帮助!(Bookstore simple management system, is a lesson for teachers to guide the completion of the period, and I hope you will help!)
    2009-04-14 14:50:23下载
    积分:1
  • DatagramChannelTest
    Test for DatagramChannel Source Code for Andriod.
    2014-02-17 14:55:18下载
    积分:1
  • Eclipse
    多语言程序设计环境Eclipse学习教程,较多用于Java开发。(Multi-language programming environment Eclipse tutorials, mostly used for Java development.)
    2013-12-13 01:07:25下载
    积分:1
  • ding
    画逻辑电路图基本功能: 1。文件的保存,打开; 2。添加基本元件; 3。画点,画线; 4。删除元件(Painting the basic functions of the logic circuit diagram: 1. Documents, open 2. Add the basic components 3. Painting point, drawing a line 4. Delete components)
    2007-12-01 09:19:20下载
    积分:1
  • Ft
    说明:  MIDP2.0的基本应用,包括铺图,精灵的逻辑处理,的一款坦克大战小游戏(MIDP2.0 basic applications, including shop plans, the wizard of logic, of a Battle City game)
    2010-10-25 19:05:23下载
    积分:1
  • BlockComboBox
    利用Swing组件在弹出式菜单项间画分隔线(Drawing split line in Popumenu by java swing.)
    2001-01-20 11:53:29下载
    积分:1
  • FaceDetection
    这是一个用java语言编写的弹幕小程序,做出弹幕效果(This is a barrage applet written in Java language to make barrage effect.)
    2018-07-09 11:38:06下载
    积分:1
  • spring-security-master
    一个使用spring-security管理权限控制的具体示例(A concrete example of using spring-security to manage permission control)
    2019-01-23 11:06:18下载
    积分:1
  • CreateFPTree
    用java实现关联分析的算法代码GreatFPtree(java GreatFPtree)
    2012-03-20 22:45:53下载
    积分:1
  • JAVA
    介绍java的三大特性,封装,继承,多态。(Introduced the three major characteristics of java, packages, inheritance, polymorphism.)
    2009-01-05 17:14:17下载
    积分:1
  • 696518资源总数
  • 105885会员总数
  • 31今日下载