登录
首页 » Java » complex

complex

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

  • MyQTTS
    对科大讯飞语音合成服务Java接口的二次封装,可由程序的线程锁来控制几个线程同时f访问TTS。(For speech synthesis iFLYTEK service Java interface of the second package, the program can be thread-locking to control access to several threads simultaneously f TTS.)
    2020-10-17 17:07:28下载
    积分:1
  • Reg
    这是一个用swing写的注册界面,用来学习swing非常的不错。(This is a swing write register interface for learning swing very good.)
    2015-12-09 20:19:57下载
    积分:1
  • 传智播客毕向东java上课PPT及源码
    说明:  传智播客毕向东Java学习PPT及源码学习资料(Learn PPT and source code learning materials from Bi Xiangdong Java)
    2020-10-14 19:17:30下载
    积分:1
  • 5
    说明:  Java编程源代码,垂直滚动公告板,修改显示的文字。(Java programming source code, the vertical scrolling bulletin board, modify the display text.)
    2009-12-19 14:06:17下载
    积分:1
  • Pre-Alpha07
    演化博弈代码,基于netlogo,java语言开发,用于演化博弈仿真建设(Evolutionary game)
    2020-06-29 01:00:02下载
    积分:1
  • FileTest
    file种方法使用实例。在系统当前目录下生成文件,并获得文件的属性信息,最后当JVM结束时删除所创建的文件。(The file method uses the instance. In the current directory file system, and obtain the attribute information file, delete the last when creating JVM at the end of the file.)
    2013-03-28 18:55:14下载
    积分:1
  • javapicture
    Java照片合成程序示例,只是进行简单的图片合成处理,合并后生成新的图片,有兴趣的可参考源代码(Java photo synthesis program example, just a simple image synthesis process, after the merger to generate a new image, interested can refer to the source code)
    2014-04-16 09:01:23下载
    积分:1
  • Java-from-the-rookie-to-Benniao
    在众多朋友的支持和鼓励下,《Java程序员由菜鸟到笨鸟》电子版终于和大家见面了。本电子书涵盖了从java基础到javaweb开放框架的大部分内容。(In many friends for their support and encouragement, " Java programmers from the rookie to Benniao" electronic version, and we finally met. The book covers most of the content from the java-based to javaweb open framework.)
    2014-04-21 21:01:53下载
    积分:1
  • Source
    一个自己写的Hadoop MapReduce实例源码,网上看到不少网友在学习MapReduce编程,但是除了wordcount范例外实例比较少,故上传自己的一个。包含完整实例源码,编译配置文件,测试数据,可执行jar文件,执行脚本及操作步骤。学习完此例子后,你能掌握MapReduce基础编程,及如何编译Java文件,打包jar文件,编写shell执行脚本等。后续学习还可以参看本人的CSDN博客,如有问题也可以在线为你解答,不过本人也学习Hadoop不足一年,现学现卖而已,也可能力不能及,有些难的也很有可能不懂。希望能够帮助到学习MapReduce的朋友(A written Hadoop MapReduce example source code line to see a lot of friends in the learning MapReduce programming, but in addition to the wordcount example instance is relatively small, so upload your own. Contains the full example source code, the compiler configuration files, test data, executable jar file, execute the script and steps. Learn this example, you can grasp the the MapReduce basis of programming, and how to compile Java files, packaged jar file, write shell execute the script. Follow-up study can also see my CSDN blog if the problem is also available online for you to answer, but I also learned that for Hadoop less than a year, buying and learning it can also power can not and some difficulty also likely to understand . Want to be able to help to learn MapReduce friend)
    2020-07-04 15:40:01下载
    积分:1
  • BUAA_2019_OO_CODE
    说明:  2019北航面向对象课设12个项目的代码(BUAA 2019 Object Oriented CODE)
    2020-06-16 02:00:01下载
    积分:1
  • 696516资源总数
  • 106409会员总数
  • 8今日下载