登录
首页 » Java » complex

complex

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

  • Exe8_4
    设计一个用户登录界面,输入用户名和密码后,点击登录按钮,若用户名为”JavaUser”,密码为”Java1234”,则允许登录,显示“登录成功!”,否则显示“登录失败!”。程序文件命名为Exe8_4.java。(Design a user login screen, enter your user name and password, click the login button, if a user named JavaUser , password is Java1234 , is allowed to login, Login successful! , Otherwise Login failed!. Program file named Exe8_4.java.)
    2015-06-14 18:30:39下载
    积分:1
  • jenainf
    这个是用protege建立的本体实例。 可用于语义推理。(This is the ontology instances created with protege. Can be used for semantic reasoning.)
    2014-02-12 16:49:37下载
    积分:1
  • xjtuspring
    特征线法设计二维风洞喷管,具体理论可参见气体动力学教材(design of two dimensional nozzle by characteristic method)
    2021-03-06 17:39:30下载
    积分:1
  • Shopping
    ssh框架实现增删改查以及购物车的实现和分页功能(SSH framework implementation questions and increase the realization of the shopping cart check and paging function)
    2012-04-23 23:02:14下载
    积分:1
  • javahowtoprogram6th
    JAVA 编程书,原书第六版。是英文版的,(How to program in JAVA,6th version in English)
    2009-05-31 11:44:06下载
    积分:1
  • FP_growth
    数据挖掘 关联规则 FP增长算法 简单 易懂 适合初级人员(DataMining DataMining DataMining DataMining DataMining)
    2011-12-13 16:36:29下载
    积分:1
  • [计算机网络].(美)Andrew.S.Tanenbaum
    《计算机网络》中文版本,经典书籍,学习网络知识必备("Computer Network" Chinese version, classic books, learning network knowledge necessary)
    2018-05-22 20:28:18下载
    积分:1
  • JavaCodeConventions
    Java Code Conventions
    2007-10-06 11:17:17下载
    积分:1
  • Socket
    java Socket服务端和客户端源程序(java socket server and client )
    2012-11-23 13:25:00下载
    积分:1
  • DeviceListActivity
    This Activity appears as a dialog.
    2014-02-17 10:29:47下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载