登录
首页 » Java » complex

complex

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

  • SourceMade
    自动做成javaBean的工具,可以按着自己定义的规范和注释生成,对日开发的利器哦,节省了代码review的时间哦(sourceCode create tools)
    2010-12-08 19:42:30下载
    积分:1
  • HibernatePagination
    hibernate参考,希望对各位有用。初次发帖,会有不足之处,会改进。(hibernate reference, in the hope that useful. The initial posting, there are deficiencies, will improve.)
    2008-05-04 22:27:13下载
    积分:1
  • 学生成绩管理系统
    说明:  1. 能够实现根据以下关键字查询:学生姓名 、学号、班级、课程名称。 2. 能够实现按照单科成绩、总成绩、平均成绩、学号排序。 3. 能够实现学生信息的插入、删除和修改。 4. 能够查询每个课程的最高分、最低分及相应学生姓名、班级和学号。 5. 能够查询每个班级某门课程的优秀率(90 分及以上)、不及格率,并进行排序。(1. Be able to query according to the following keywords: student name, student number, class, course name. 2. It can be sorted according to single subject score, total score, average score and student number. 3. Be able to insert, delete and modify student information. 4. Be able to query the highest score and lowest score of each course and the corresponding student name, class and student number. 5. Be able to query the excellent rate (90 points and above) and failure rate of a course in each class, and sort them.)
    2021-03-17 19:19:21下载
    积分:1
  • reflection
    Java反射包的一些使用例子,使用GB2312编码打开文件。(Some use of Java reflection package example, use the GB2312 code to open the file.)
    2010-06-13 11:18:15下载
    积分:1
  • Door
    门禁系统 适合初学者学习的 控制台java程序 代码简单功能明确(Access control system suitable for beginners to learn a simple function of the console java code explicitly)
    2013-12-26 22:32:07下载
    积分:1
  • ChatQQ
    学好嵌入式,学好java,从最基本的山寨版QQ聊天室开始,该程序已通过测试。。。(good good study,day day up.)
    2013-11-08 20:13:23下载
    积分:1
  • 2222Java2
    2222Java2 参考大全(第4版).pdf,是一本很好的电子书,对JAVA 2做了很好的解释,并有事例来说明,(2222Java2 Reference (4th edition). Pdf, is a very good e-books, on the JAVA 2 make a very good explanation, and have examples to illustrate)
    2007-10-03 11:10:19下载
    积分:1
  • 01_LogDemo
    对日志引擎进行总结,对日志进行举例,怎么使用(Summarize the log engine, give an example of how to use it.)
    2019-04-12 19:31:32下载
    积分:1
  • RepoSourcesAdapter
    A list of sdk-repository sources. This implementation is UI dependent.
    2013-12-02 15:27:05下载
    积分:1
  • Java+TCP/IP+Socket++原书第2版
    socekt编程。便于了解常用的tcp,udp编码与服务器编码方式(Socekt programming. Easy to understand the common tcp, UDP coding and server coding methods)
    2019-04-22 11:17:34下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载