登录
首页 » Java » complex

complex

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

  • workjava
    设计一个处理复数运算的类,该类中至少有两个成员方法: 复数加法和复数减法运算。 在上述类中添加两个静态方法:求一个复数的模和求一个复 数的复角。 设计一个子类,该子类继承了上述的类,并且至少拥有自己 的两个方法:复数乘法和复数除法。 再设计一个类,包含main方法,对上面的类进行应用与测试。 该作业要求编程并调试通过。对你设计的类要有详细的文字 说明(类所封装的内容,属性、方法的功能与含义等)(The design of a complex operation processing class, at least two members of the methods in this class. Complex addition and subtraction.)
    2017-12-15 22:36:35下载
    积分:1
  • JMT_cn
    Java Modeling Tools,是基于排队论对系统模型进行仿真分析的有效工具,现已成为面向科研、教学与应用的开源软件(Java Modeling Tools, has now become an effective tool for the simulation analysis of the system model based on queuing theory, for research, teaching and application of open source software)
    2012-12-28 11:16:13下载
    积分:1
  • qrcode
    日本人写的QRcode的编码和解码的java程序(Japanese QRcode write the coding and decoding process of java)
    2006-09-05 14:29:00下载
    积分:1
  • unicode-convert-tools
    unicode转换工具,可把原码转化为html unicode,java unicode以及unicode码(unicode conversion tool, you can put the original code into the html unicode, java unicode and unicode code)
    2013-12-11 09:04:01下载
    积分:1
  • WealthGod
    基于数字机顶盒J2me平台开发的互动游戏《金鼠财神》游戏,实现了使用机顶盒遥控器玩游戏的功能(Based on the digital set-top boxes J2me platform development of interactive games )
    2008-07-07 16:38:04下载
    积分:1
  • regress-294
    typeof evaluates unary expressions.
    2014-02-10 14:18:15下载
    积分:1
  • arda
    说明:  car wash simulation example
    2020-01-02 02:48:11下载
    积分:1
  • log_update
    日志更新文件,关于JAVA的一个日志文件(Update log files, log files on a JAVA)
    2011-06-18 22:11:12下载
    积分:1
  • jdbc_02
    语言环境:Eclipse Java 学生管理系统连接数据库进行(environment:Eclipse Student Management System Connecting with Database)
    2020-06-24 22:40:01下载
    积分:1
  • epai
    说明:  e拍网上在线拍卖系统(北大青鸟),模拟电子商务网上交易平台(e film online online auction system (Beida Jade Bird), simulated e-commerce online trading platform)
    2021-04-08 23:09:01下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载