登录
首页 » Java » complex

complex

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

  • JSF
    说明:  The C Programming Language若干行代码网络平台输出测试(A "Hello, World!"program generally is a computer program that outputs or displays the message "Hello, World!". Such a program is very simple in most programming languages, and is often used to illustrate the basic syntax of a programming language. It is often the first program written by people learning to code.)
    2020-06-22 14:40:01下载
    积分:1
  • Map
    argis 程序开发语言,和测试用例程序,一 淡淡的
    2011-08-15 18:26:42下载
    积分:1
  • android-follow-server
    手机同步服务器中Mysql数据库,数据库变化后,手机同步变化(Mobile synchronization server Mysql database)
    2014-07-23 16:29:01下载
    积分:1
  • 理发店管理系统Beauty
    这是一个理发店管理系统,感兴趣的朋友可以下一下,该系统主要是有顾客排队功能(This is a barber shop management system, interested friends can look at the system mainly has customers queuing function)
    2013-12-13 11:11:53下载
    积分:1
  • javaTetrisEclipse
    使用java语言在Eclipse上编写俄罗斯方块代码,此版本的俄罗斯方块只是实现了俄罗斯方块的基本功能,没有设置等功能,游戏代码采用mvc设计模式(Tetris using java language code on Eclipse, this version of Tetris is to achieve the basic functions of Tetris, and other functions not provided, the game code using mvc design pattern)
    2016-05-22 12:07:47下载
    积分:1
  • HttpResponseWriter
    Utility class to look up carrier logo resource IDs.
    2013-12-02 13:39:21下载
    积分:1
  • spring-boot-activiti
    Spring平台整合activiti工作流引擎实例(Spring Platform Integration Actiti Workflow Engine Example)
    2020-06-19 10:00:02下载
    积分:1
  • ftp123client
    java 编写的 ftp 客户端程序(prepared by the ftp client)
    2005-01-06 13:27:16下载
    积分:1
  • xStream
    该文档中涵盖了xStream.jar和xStream.chm两个文件,xStream.jar是开发将如何将java对象与xml文件的相互转换所需要的第三方开发包,第二个文件xStream.chm是它的开发文档,开发人员可以查看该文档,来实现自己的功能。对于学习java的人来说这是一个不错的文件。 (The document covers the two files xStream.jar xStream.chm xStream.jar development java object with the xml file conversion needs third-party development package, the second file xStream.chm it development of documentation, developers can view the document, to achieve their function. This is a good document for people to learn java.)
    2013-05-13 19:55:37下载
    积分:1
  • shanzhaiqq
    模仿qq程序做的一个简单c/s应用系统,具有服务器程序,和客户端程序等模块,实现简单的聊天功能,程序不太完善,望有兴趣的加以完善,可以让初学java的人了解庞大程序的编程思想。编程工具netbean+mysql完成。(Imitate qq program to do a simple c/s application system with the server program, and client programs and other modules, to achieve a simple chat feature, the program is not perfect, hope to be improved are interested, you can let people know about the huge beginner java programming ideas program. Programming Tools netbean+ mysql complete.)
    2014-10-29 13:51:07下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载