- gdi GDI 图形处理
- F2812EzDSP_Sample This sample program generates two sine waves called X and Y. It will then calculate the normalized magnitude and phase of the two waveforms using the following formulas: Mag = sqrt(X^2 + Y^2)/sqrt(GainX^2 + GainY^2) Phase = (long) (atan2PU(X
- SP_FTP_interface 中国联通增值业务鉴权中心接口规范
- bmp2jpg C 语言实现bmp和jpeg图片格式转换
- VC_code_enable_disable_screen_Classic VC编程实现启用禁用屏幕保护经典代码VC programming code to enable disable the screen saver Classic
- DS1302-timer DS1302的实时时钟定时器
文件名称:meiju
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:2.82kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
定义一个接口,他至少包含一个可以计算面积的成员的方法。然后,编写实现该接口的两个类:正方形类和圆类。接着编写一个具有泛型特点的类,要求利用这个类可以在控制台窗口中输出没肿图形的面积,而且这个类的类型变量所对应的实际类型可以是前面编写的正方形类和圆类。最后利用这个具有泛型特点的类在控制台窗口中分别输出给定变长的正方形的面积和给你个半径的圆的面积。-define a interface,including which containing at least a can of calculating the area of members of the methoda,Then, write to realize this interface of two classes: the square class and round types.Then write a with generics characteristics of classes,In this class can be required to exploit the console window in the area of the output didn t swollen graphics,And this kind of type variable corresponds to the actual type may be written in front of the class and round square class.Finally, using the generic type with the characteristics of the categories in the console window respectively output given variable-length square area and give you a radius of the area of a circle.
相关搜索: meiju
(系统自动生成,下载前可以参看下载内容)
下载文件列表
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
