登录
首页 » Java » complex

complex

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

  • chap08
    Java 程序设计教程(第五版)EXAMPLESchap08源码(Java Programming tutorial (Fifth Edition) EXAMPLES chap08 source)
    2009-03-13 11:01:31下载
    积分:1
  • jsp仓储管理系统设计(源代码+论文)
    仓储管理系统的功能有可以在页面上实现对仓库内物品的增删改查,是B/S结构。(Storage management system functions can be achieved on the page, the contents of the warehouse additions and deletions to change, is the B/S structure.)
    2017-10-12 16:03:24下载
    积分:1
  • a
    说明:  easymock,covers how to write easymock junits
    2009-11-12 13:23:03下载
    积分:1
  • Demo
    从键盘输入类的信息,通过键盘输入信息创建类的对象,并保存到txt文件。(Input class information from the keyboard, create class objects through keyboard input information, and save to TXT file.)
    2019-04-16 11:58:19下载
    积分:1
  • jpatest-src
    JAVA的最新的持久机制规范JPA的代码,如何调用JPA的多种方法(The latest JAVA lasting mechanism for defining the JPA code, how to call multiple methods of JPA)
    2007-11-29 20:48:55下载
    积分:1
  • SelectionModelDemo
    说明:  表格选择模式,当用户对表格做数据域位的选取时会产生ListSelectionListener事件(Table selection mode, when users place on the table to do the selection of data fields will produce ListSelectionListener events)
    2010-04-07 10:44:39下载
    积分:1
  • threshold
    A java application - processing which can be downloaded free from processing.org Here it uses a free library - OpenCV - made by intel. .. to convert all the pixels in an image - in fact in a movie - a capture from the webcam. If the color of a pixel is "higher" comparing to a threshold it turns black - otherwise it becomes white.(A java application- processing which can be downloaded free from processing.org Here it uses a free library- OpenCV- made by intel. .. to convert all the pixels in an image- in fact in a movie- a capture from the webcam. If the color of a pixel is "higher" comparing to a threshold it turns black- otherwise it becomes white.)
    2009-05-12 05:52:05下载
    积分:1
  • JSlider-Example
    javaslidercode for java beginner
    2014-11-07 17:23:36下载
    积分:1
  • jkl
    some program I was working on
    2017-10-07 08:48:09下载
    积分:1
  • chatroom
    一个用java编写的聊天室工具,使用了多线程,每次上线一个用户都会开辟一个线程(Write a java chat room tools, the use of multiple threads, each on-line user would open up a thread)
    2014-06-08 17:35:38下载
    积分:1
  • 696518资源总数
  • 105151会员总数
  • 4今日下载