登录
首页 » Java » complex

complex

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

  • interface
    interface定义了一组行为的协议。两个对象之间通过这个协议进行通信。 interface 不属于类层次结构。不相关的类可以实现相同的接口(interface defines a set of conduct agreement. Through this agreement between the two objects to communicate. interface does not belong to class hierarchy. Unrelated classes can implement the same interface)
    2010-08-09 16:18:01下载
    积分:1
  • Perceptron
    机器学习中Perceptron算法统计词频(The statistics of words of perceptron algorithm in Machine Learning)
    2013-11-28 22:42:55下载
    积分:1
  • TomExam2_With_JTM
    tomexam,一个简单易用的在线考试系统。tomcat、java、mysql.(tomexam, a simple-to-use online examination system. tomcat, java, mysql.)
    2017-01-12 14:46:20下载
    积分:1
  • com
    银行的一个管理系统,在ATM端服务,并有异常处理(A bank management system, client services in the ATM)
    2009-05-19 21:17:33下载
    积分:1
  • sourcefiles
    window下使用j2ee的jms工具做的网络应用的一个架构程序(window using the jms Providing the tools to do a network application framework procedures)
    2005-06-29 19:04:25下载
    积分:1
  • SpcommSMS
    用spcomm控件写的一个短信收发与串口
    2009-10-10 17:49:00下载
    积分:1
  • AI
    说明:  this is a tic-tac-toe game.... no one can win...try it.. :)
    2009-07-11 15:18:28下载
    积分:1
  • 疯狂java讲义
    疯狂java讲义pdf版,讲解细致,适用于java入门资料参考(crazy java instruction.pdf very very good)
    2020-12-15 10:49:13下载
    积分:1
  • chat-room
    简单聊天室,使用java swing实现(Simple chat room using java swing)
    2013-07-19 21:54:59下载
    积分:1
  • sunspider-compare-results
    sunspider Compare Results Source Code for Java Script.
    2013-12-27 00:21:56下载
    积分:1
  • 696518资源总数
  • 104269会员总数
  • 42今日下载