文件名称:Complex
-
所属分类:
- 标签属性:
- 上传时间:2012-10-26
-
文件大小:719byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
设计一个复数类,能够完成复数之间的基本运算,重写方法toString(),使其能输出此复数(形式为: 实部 + 虚部i)。
要求设计的复数类必须有三个构造函数,分别为无参数、1个参数和2个参数的构造函数,完成的基本运算包括两个复数的加、减、乘、除法和变换了共轭复数。
-The design of a complex type, able to complete the basic operations between plural, rewrite the method toString (), so that it can output the plural (in the form as follows: real part+ imaginary part i). Designed to be the plural there are three types of structural function, respectively, without parameters, a parameter and two constructor parameters, including the completion of the basic operations of the two complex add, subtract, multiply, divide and transform the complex conjugate.
要求设计的复数类必须有三个构造函数,分别为无参数、1个参数和2个参数的构造函数,完成的基本运算包括两个复数的加、减、乘、除法和变换了共轭复数。
-The design of a complex type, able to complete the basic operations between plural, rewrite the method toString (), so that it can output the plural (in the form as follows: real part+ imaginary part i). Designed to be the plural there are three types of structural function, respectively, without parameters, a parameter and two constructor parameters, including the completion of the basic operations of the two complex add, subtract, multiply, divide and transform the complex conjugate.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Complex.java
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.