-
(1) 设计一个程序,用于根据用户输入的命令行参数数量来计算长方形、正方形、三角形的面积。如果输入的参数为一个、二个、三个则它们应分别对应正方形、长方形、三角形...
(1) 设计一个程序,用于根据用户输入的命令行参数数量来计算长方形、正方形、三角形的面积。如果输入的参数为一个、二个、三个则它们应分别对应正方形、长方形、三角形,如果没有参数,则通过异常处理方法现实错误消息。(用于计算面积的方法是一个重载的方法。提示:定义一个抽象的父类,并提供一个抽象的方法area(). 再派生出三个子类,重写area()方法,然后在main方法中用多态来实现具体的面积函数的调用)。-(1) design a program based on user input for the command line parameters to calculate the number of rectangular, square, triangle area. If the input parameter is one, two, three then they should correspond to a square, rectangle, triangle, without parameters, exception handling through the real error message. (Used to calculate the area is an overloaded method. Note: the definition of an abstract parent class, and provides an abstract method area (). To send birth to three sub-classes override area () method, and then in main method using multi-state to achieve a specific area of a function call).
- 2022-07-11 07:56:19下载
- 积分:1
-
CamShift
camshift全自动跟踪,不需手动选择,可以自动跟踪目标(CAMSHIFT fully automatic tracking, without manual selection, you can automatically follow the target)
- 2017-07-19 11:14:01下载
- 积分:1
-
3D_platform(DAQ)
控制三轴移动平台,耦合galil运动控制卡采集三维区域数据,采集器为NI-DAQ数据采集卡(Control the three axis mobile platform, coupled Galil Motion control card to collect 3D regional data, and the collector is NI-DAQ data acquisition card.)
- 2018-05-07 10:52:15下载
- 积分:1
-
熵权法(python)
说明: 熵权法根据各指标的变异程度,利用信息熵计算出各指标的熵权,再通过熵权对各指标的权重进行修正,从而得出较为客观的指标权重。(According to the variation degree of each index, the entropy weight of each index is calculated by using information entropy, and then the weight of each index is revised by the entropy weight, thus objectively obtaining the weight of each index.)
- 2019-05-28 23:40:19下载
- 积分:1
-
固件:u600xehi2
Firmware: U600XEHI2
Patch JavaHeapExtremal allows you to install java up to 2.2 MB, but also increases the amount of Heap memory for Java.
Why Extremal, you ask? Because after the patch installation possible glitches in the phone, especially in major applications such as Pixel Viewer (Editor), etc.
Author - ARSik
Ported: Valerik0887-Firmware: U600XEHI2
Patch JavaHeapExtremal allows you to install java up to 2.2 MB, but also increases the amount of Heap memory for Java.
Why Extremal, you ask? Because after the patch installation possible glitches in the phone, especially in major applications such as Pixel Viewer (Editor), etc.
Author- ARSik
Ported: Valerik0887
- 2022-01-28 04:16:02下载
- 积分:1
-
Swing浏览器插件实例,这个简单的例子可以用在双屏推送上的测试例子...
Swing浏览器插件实例,这个简单的例子可以用在双屏推送上的测试例子-swing
- 2022-02-11 16:18:01下载
- 积分:1
-
BER_BPSK_ISI_CHANNEL_MMSE_EQUALIZAION
BER FOR BPSK IN ISI CHANNEL WITH MMSE EQUALIZATION
- 2018-01-25 13:50:59下载
- 积分:1
-
游戏移动的源代码
source code about game mobile
- 2022-01-26 06:40:58下载
- 积分:1
-
MMGmodel
建立船舶的3自由度mmg模型,完成船舶的冲程,转向等功能(The 3 degree of freedom MMG model of ship is established to complete the functions of stroke and steering.)
- 2020-11-18 20:59:41下载
- 积分:1
-
Java如何在多个EJB之间相互调用的例子
Java如何在多个EJB之间相互调用的例子,也就是各种EJB之间的调用例子,向初学者演示如何实现调用的具体代码及步骤,涉及以下相关方法:用远程接口的引用访问EJB、函数将被FirstEJB调用,同时它将调用secondEJB。。
- 2022-08-10 18:52:00下载
- 积分:1