登录
首页 » Java » complex

complex

于 2019-04-13 发布 文件大小:1KB
0 186
下载积分: 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 个回复

  • javaoracle
    java连接oracle,图形界面。插入更新显示数据库内记录。(java connect oracle, graphical interface. Insert update the display database records.)
    2010-07-01 12:20:09下载
    积分:1
  • javaExampleCode
    一些java实例代码 用applet实现的 希望对一些初学者有所帮助(Examples of some java code to use applet hopes of some help for beginners)
    2009-04-27 10:15:00下载
    积分:1
  • Java获取字符串码格式
    根据字符串内容识别编码格式 简单实用 用来解决检测编码不统一的问题(Identifies the encoding format based on the string content)
    2018-05-29 13:56:46下载
    积分:1
  • MenuItem
    Interface definition for a callback to be invoked when a menu item is clicked.
    2013-12-03 14:11:10下载
    积分:1
  • tut-rest-master
    You re creating an API that clients need to consume across the web. You want to open up your organization s data to consumption by varied clients across the web. You need to integrate your application with other applications inside your own organization, but you don t have control over the languages, tools, or frameworks for those applications.
    2014-03-18 11:30:50下载
    积分:1
  • axis1Test
    axis1 例子,源码,发布与访问,内容详细简单易懂,适合初学者(axis1 example, source code, publishing and access, detailed and easy to understand for beginners)
    2011-09-15 10:29:47下载
    积分:1
  • 高校重修业务管理系统
    主要用户有:教师,教务员,学生和管理员。学生接收通知和查看成绩,教师上传和下载文件,教务员负责生成重修名单和考试安排,管理员负责管理用户角色和相关设置。(The main users are teachers, administrators, students and administrators. Students receive notifications and results, teachers upload and download files. The dean is responsible for generating reover lists and examination arrangements, and administrators are responsible for managing user roles and related settings.)
    2018-08-01 09:52:59下载
    积分:1
  • FGA_Bounds
    java实现的浮点数编码遗传算法,很有用,只需更改适应度函数即可(the complement of genetic algorithm by java, which is very useful via changing the fitness function for any use.)
    2011-12-06 01:37:53下载
    积分:1
  • Design-and-develop
    智能家居的设计和开发应用,关于智能家居的设计和开发应用(Intelligent home control system design and development, on the smart home control system design and development)
    2013-09-28 13:41:41下载
    积分:1
  • GoogleMapMapabc51dituVirtualEarthYahooMaApiJquery
    google地图,以及所有网上地图的api接口程序集合。(google maps)
    2009-05-15 12:24:55下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载