登录
首页 » Java » complex

complex

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

  • java-calculator.txt
    实现计算器的功能M+:是计算结果并加上已经储存的数 中断数字输入.M-:从存储器内容中减去当前显示值 中断数字输入.MRC:第一次按下此键将调用存储器内容,第二次按下时清除存储器内容.MR:调用存储器内容.MC:清除存储器内容.(Calculator function)
    2012-12-30 13:00:46下载
    积分:1
  • com.gmail.dengtao.joe.transport
    个人工作中编写基于java nio的socket封装,基于事件的设计方式这点类似mina,但该框架的主要特点是简单!(Personal work, the preparation of the socket-based java nio package, event-based design approach this like mina, but the main features of the framework is simple! )
    2013-09-28 08:41:35下载
    积分:1
  • aopalliance-1.0
    在软件业,AOP为Aspect Oriented Programming的缩写,意为:面向切面编程,通过预编译方式和运行期动态代理实现程序功能的统一维护的一种技术。AOP是OOP的延续,是软件开发中的一个热点,也是Spring框架中的一个重要内容,是函数式编程的一种衍生范型。利用AOP可以对业务逻辑的各个部分进行隔离,从而使得业务逻辑各部分之间的耦合度降低,提高程序的可重用性,同时提高了开发的效率(In the software industry, AOP is the abbreviation of Aspect Oriented Programming, which means: Face-Oriented Programming, a technology to achieve unified maintenance of program functions through pre-compiling and run-time dynamic proxy. AOP is the continuation of OOP, a hotspot in software development, an important content in Spring framework, and a derivative paradigm of functional programming. Using AOP can isolate all parts of business logic, which reduces the coupling between the parts of business logic, improves the reusability of programs, and improves the efficiency of development.)
    2020-06-23 01:20:02下载
    积分:1
  • elementnormalize
    elementnormalize Source Code for Andriod.
    2013-12-03 09:32:31下载
    积分:1
  • java
    java
    2013-06-08下载
    积分:1
  • survey
    此为问卷调查系统 最好请跑在tomcat6.0下 系统有一些bug 以后会进行更新(This system is best for the survey, please run the system in tomcat6.0 some bug will be updated later)
    2011-11-27 14:43:09下载
    积分:1
  • WorkThread-source
    Java SMTP协议电子邮件传送剖析 很好的适用程序(agreement Java SMTP mail delivery analysis procedures for the application of good)
    2007-05-14 00:16:29下载
    积分:1
  • DxUtil
    check Verify Exception Source Code for Andriod.
    2013-12-02 14:15:02下载
    积分:1
  • OpenSSLMessageDigestJDK
    Open S S L Message Digest J D K extends Message Digest implements Cloneable.
    2014-01-10 11:15:21下载
    积分:1
  • java200
    要将 MenuBar 加入一个Frame 中,应使用的方法是? A. setMenu() B. setMenuBar() C. add() D. addMenuBar() 2. 使用哪一个布局管理器时,当Frame 的大小被改变时Frame 中的按钮的位置可能会被改 变? A. BorderLayout B. FlowLayout C. CardLayout D. GridLayout(To add a Frame MenuBar, the method should be using? A. setMenu () B. setMenuBar () C. add () D. addMenuBar () 2. When using a layout manager which, when Frame Frame size is changed in the position of the buttons may be changed? A. BorderLayout B. FlowLayout C. CardLayout D. GridLayout)
    2014-05-17 21:12:54下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载