登录
首页 » Java » complex

complex

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

  • 21Player
    简单的21点游戏,通过控制台输入输出,用于对java基础知识的学习和练习(Simple 21-point game, input and output through the console)
    2020-06-16 01:00:01下载
    积分:1
  • SPOOLING
    要求设计一个SP00LING输出进程和两个请求输出的用户进程,以及一个SP00LING输出服务程序。当请求输出的用户进程希望输出一系列信息时,调用输出服务程序,由输出服务程序将该信息送入输出井。待遇到一个输出结束标志时,表示进程该次的输出文件输出结束。之后,申请一个输出请求块(用来记录请求输出的用户进程的名字、信息在输出井中的位置、要输出信息的长度等),等待SP00LING进程进行输出。 SP00LING输出进程工作时,根据请求块记录的各进程要输出的信息,将其实际输出到打印机或显示器。这里,SP00LING输出进程与请求输出的用户进程可并发运行。 (Asked to design a user process SP00LING request output and two output processes, and outputs a SP00LING service program. When users want to process requests output output range information, call the output service program, service program by the output information into the output shaft. Treatment to an output end of the flag, which means that the process of the second output file output end. Thereafter, the application of an output request block (name of the user to record the output of the process request, the information on the position of the output well, and length information to be outputted), the process waits SP00LING output. When SP00LING output process work, information requested under each process block records to be output, its actual output to a printer or monitor. Here, the user process and the output process SP00LING request output can be run concurrently.)
    2014-01-08 13:36:02下载
    积分:1
  • Median
    采用java编写的Median filter程序()
    2021-04-16 14:48:53下载
    积分:1
  • utilities
    Object proxy Type Source Code for Java Script.
    2014-02-13 21:55:51下载
    积分:1
  • 404140-Code-from-the-book
    Java 7 入门经典源码,Ivor Horton 著(Java 7 edition code)
    2013-12-31 17:19:47下载
    积分:1
  • JSP--library
    jsp图书管系统,实现图书馆的功能。请大家认真查看(jsp library jsp library)
    2013-05-17 10:09:21下载
    积分:1
  • Connection2005
    主要功能是连接数据库,使用的是jdbc连接连接到sql2005上(Main function is to connect to the database, using jdbc connection to connect to sql2005 on)
    2011-05-22 02:05:06下载
    积分:1
  • Exercise18_1
    java编程思想的题,用awt写的音频播放器,能实现多种循环方式。(java programming ideas for the title, written by awt audio player, can achieve a variety of cycle ways.)
    2013-11-27 21:58:06下载
    积分:1
  • fileupload
    ftp文件上传,applet界面,带进度条(ftp file upload, applet interface, with a progress bar)
    2009-10-13 10:14:05下载
    积分:1
  • Calculator
    一个简单的计算器实现,带小数的加减乘除。使用Java AWT/Swing实现(Implement a simple calculator, decimal addition and subtraction)
    2013-10-05 11:42:48下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载