登录
首页 » Java » complex

complex

于 2019-04-13 发布 文件大小:1KB
0 80
下载积分: 1 下载次数: 0

代码说明:

  编写一个复数类,可以进行复数加法和减法运算。编写一个包含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.)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • bank
    通过制作银行卡来综合的运用java知识,能够帮助我们更加细致的了解java编程,实际的来操作java编程(Through the production of bank cards to integrate the use of java knowledge can help us a more detailed understanding of java programming, and practical to operate the Java programming)
    2012-03-19 12:47:44下载
    积分:1
  • ssm学生信息管理系统(源码+数据库+文档)
    ssm学生信息管理系统(源码+数据库+文档)
    2020-12-12下载
    积分:1
  • JAVACOM3
    java for RS232,use java communication api(java for RS232, use java communication api)
    2008-12-13 14:25:52下载
    积分:1
  • TicketSystem_demo1
    票务管理系统 可以实习会员注册 查询车票等 并可以在线购票 管理员端口 可以增加修改班次线路价钱, 修改会员级别。(Ticket management system can be registered as a member of the registration inquiries, etc. And online ticket administrator can increase the number of changes to modify the line price, modify the membership level.)
    2016-01-15 10:42:55下载
    积分:1
  • baokandingyueguanlixitong
    报刊订阅管理系统,代码和报告都在里面 完整的,需要的可以下载参考(baokandingyueguanlixitong wanzhengziliao )
    2020-12-18 18:09:11下载
    积分:1
  • namespace-walkdog
    小狗赛跑小游戏,使用java语言编写,walkdog.doc(Dog racing games, using java language, walkdog.doc)
    2014-04-20 18:40:46下载
    积分:1
  • show_file
    文件浏览器 用到了流布局、网格布局 可调节图标大小(File browser use flow layout, grid layout, icon size adjustable)
    2012-11-19 00:22:03下载
    积分:1
  • RMIOperate3
    说明:  RMI通讯,可以远程访问服务器端获取消息,给客户端应用在广域网.(RMI communications, can be remote access server-side access to news, to the client applications in wide area network.)
    2008-10-13 13:07:01下载
    积分:1
  • draw(2)
    一个简单的Java画板 很简单的只有几个基本功能(A simple Java Sketchpad is very simple, only a few basic functions)
    2012-06-12 21:26:07下载
    积分:1
  • 57296222
    学习JAVA_swing的看哈大家一起加油,上传更好的东西来分享一下(Learning JAVA_swing look, everyone together come on, upload something better to share)
    2017-06-28 18:31:43下载
    积分:1
  • 696518资源总数
  • 104226会员总数
  • 47今日下载