登录
首页 » Java » complex

complex

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

  • SwordForOfferJava-master
    说明:  剑指offer电子版,用例使用java语言编写,供java学习者参考(Sword refers to the electronic version of the offer, the use case is written in java language, for the reference of java learners)
    2019-11-13 09:57:52下载
    积分:1
  • Robot
    基于Simbad环境的移动机器人避障源代码(采用蚁群算法和A星算法)(failed to translate)
    2013-05-05 15:42:38下载
    积分:1
  • ClouthSale
    一个服装管理系统,对于初学者有很好的借鉴,里面有数据库。(A clothing management system, there is a good reference for beginners, there are databases.)
    2014-01-05 11:17:53下载
    积分:1
  • SiteSelector
    Java入门级源码...自个儿写的...还望指正(Entry-level Java source ... myself ... I do hope to write correction)
    2010-05-19 10:31:28下载
    积分:1
  • java-jar
    java jar文件,包括mysql-connector-java-5.1.6-bin.jar、tomcat-dbcp.jar、hibernate3.jar、struts.jar等,在连接数据库等方面会用到(java jar files, including mysql-connector-java-5.1.6-bin.jar, tomcat-dbcp.jar, hibernate3.jar, struts.jar, etc., will be used to connect the database, etc.)
    2011-06-20 20:34:44下载
    积分:1
  • jump
    html页面转jsp页面的一个典型的例子,值得大家学习!(HTML page, a typical example of the JSP page worth learning!)
    2016-04-07 16:49:03下载
    积分:1
  • Calculator
    一个简单的计算器实现,带小数的加减乘除。使用Java AWT/Swing实现(Implement a simple calculator, decimal addition and subtraction)
    2013-10-05 11:42:48下载
    积分:1
  • ThreeInOne
    插值演示,牛顿插值,拉格浪日插值,三次样条插值(interpolation demonstration of Newton's interpolation, the waves of Rugby Day interpolation, cubic spline interpolation)
    2020-12-02 20:09:25下载
    积分:1
  • sensitive_words
    该代码实现了屏蔽敏感词汇的说明和修改,请查收(sensitive words)
    2014-12-30 14:00:33下载
    积分:1
  • 极客学院23个设计模式完整代码及课件
    设计模式(Design pattern)代表了最佳的实践,通常被有经验的面向对象的软件开发人员所采用。设计模式是软件开发人员在软件开发过程中面临的一般问题的解决方案。这些解决方案是众多软件开发人员经过相当长的一段时间的试验和错误总结出来的。(Design Pattern presents the best practice)
    2018-10-15 15:53:08下载
    积分:1
  • 696518资源总数
  • 106242会员总数
  • 10今日下载