文件名称:jisuanqi
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2017-05-18
- 文件大小:
- 15kb
- 下载次数:
- 0次
- 提 供 者:
- 黎*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
编写复数运算的Application程序:
(1)设计复数类Complex,具有实部、虚部两个属性,能完成复数的加、减、乘三种运算。
(2)使用Application创建一图形用户界面程序,界面如下,程序运行时,用户可在“复数1”后面的对应文本框中输入第一个复数的实部和虚部,在“复数2”后面的对应文本框中输入第二个复数的实部和虚部,在“运算符”后面的文本框中输入“+”或“-”或“*”运算符号,当用户按下“ ”按钮后,程序调用复数类Complex的对应方法,将运算结果(计算得到的复数的实部和虚部)显示在其后排列的两个文本框中。-The Application program for writing complex numbers:
(1) designing complex class Complex, which has two attributes, real, imaginary and imaginary, and can complete three operations of addition, subtraction and multiplication of complex numbers.
(2) the use of Application to create a graphical user interface, the interface is as follows, when the program is running, the user can be in the real and imaginary parts of the first input text box corresponding to plural plural 1 behind the real and imaginary second complex input text box corresponding to a plurality of 2 behind the in the operator , the textbox input + or - or * symbol of operation, when the user presses the button, the corresponding method of procedure call complex class Complex, the result of the operation (the real and imaginary part of the complex calculation result of the display in the two text later) arranged in the box.
(1)设计复数类Complex,具有实部、虚部两个属性,能完成复数的加、减、乘三种运算。
(2)使用Application创建一图形用户界面程序,界面如下,程序运行时,用户可在“复数1”后面的对应文本框中输入第一个复数的实部和虚部,在“复数2”后面的对应文本框中输入第二个复数的实部和虚部,在“运算符”后面的文本框中输入“+”或“-”或“*”运算符号,当用户按下“ ”按钮后,程序调用复数类Complex的对应方法,将运算结果(计算得到的复数的实部和虚部)显示在其后排列的两个文本框中。-The Application program for writing complex numbers:
(1) designing complex class Complex, which has two attributes, real, imaginary and imaginary, and can complete three operations of addition, subtraction and multiplication of complex numbers.
(2) the use of Application to create a graphical user interface, the interface is as follows, when the program is running, the user can be in the real and imaginary parts of the first input text box corresponding to plural plural 1 behind the real and imaginary second complex input text box corresponding to a plurality of 2 behind the in the operator , the textbox input + or - or * symbol of operation, when the user presses the button, the corresponding method of procedure call complex class Complex, the result of the operation (the real and imaginary part of the complex calculation result of the display in the two text later) arranged in the box.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
jisuanqi
........\Cal$1.class
........\Cal$10.class
........\Cal$11.class
........\Cal$12.class
........\Cal$13.class
........\Cal$14.class
........\Cal$15.class
........\Cal$16.class
........\Cal$17.class
........\Cal$2.class
........\Cal$3.class
........\Cal$4.class
........\Cal$5.class
........\Cal$6.class
........\Cal$7.class
........\Cal$8.class
........\Cal$9.class
........\Cal.class