登录
首页 » Java » complex

complex

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

  • WinRAR-
    连连看Java源码,很有意思,,适合初学者。。。。(Lianliankan Java source code, suitable for beginners. . . .)
    2013-10-15 15:41:21下载
    积分:1
  • JAVACOM3
    java for RS232,use java communication api(java for RS232, use java communication api)
    2008-12-13 14:25:52下载
    积分:1
  • 勇敢的猪
    实现"勇敢的猪"这款游戏的最基本功能,如游戏界面,操作控制,游戏设置,玩家排行榜与帮助等(To achieve the most basic functions of the "brave pig" game, such as game interface, operation control, game settings, player ranking and help, etc.)
    2020-06-19 15:00:01下载
    积分:1
  • BluetoothAudioGateway
    Listens for incoming RFCOMM connection for the headset / handsfree service.
    2013-11-07 11:50:21下载
    积分:1
  • Steganogra188368522005
    极品飞车之追捕者是大家喜爱的游戏之一 极品飞车之追捕者是大家喜爱的游戏之一(chase you love is one of the game Need for Speed Most Wanted; chase you love is one of the game)
    2006-07-06 11:22:23下载
    积分:1
  • java_sheji
    说明:  是我个人的课程设计,里面有聊天系统,计算器,还有一个汉诺塔演示程序(is my personal curriculum design, there are chat system, calculator, a demo program HANOR)
    2006-03-01 01:08:35下载
    积分:1
  • ListTouchBottomGravityManyTest
    Touch tests for a list where all of the items do not fit on the screen, and the list stacks from the bottom.
    2014-02-27 13:40:15下载
    积分:1
  • TestPolymoph
    这段代码是用来理解 polymorphism 多态,写的很详细,适合初学者!(This code is used to understand the polymorphism polymorphism, written in great detail, suitable for beginners!)
    2010-08-15 09:23:33下载
    积分:1
  • SipProfile
    Helper class for creating a {@link SipProfile}.
    2014-02-25 11:31:22下载
    积分:1
  • FastIndex
    说明:  建立快速索引,FastIndex为抽象类,AscFastIndex和DescFastIndex分别为两个实现(Quick Indexing. FastIndex is an abstract class and AscFastIndex and DescFastIndex are two implementations respectively.)
    2019-07-02 08:19:14下载
    积分:1
  • 696518资源总数
  • 104384会员总数
  • 26今日下载