-
JAVA
说明: 定义长方体类Cuboid,要求如下:(1)私有成员变量包括长length、宽width和高height;(2)构造方法包括一个公共的空构造方法,一个能够初始化所有成员变量的构造方法;(3)包括所有的setter和getter方法,其中setter方法要求对形参进行验证,例如长、宽和高都大于0;(4)功能方法包括计算表面积getArea()、计算体积getCubage()、判断是否正方体isCube()、输出该长方体的长宽高printCuboid()、绘制该长方体(给出提示信息即可)drawing()。
测试一要求如下:(1)利用空构造方法创建一个新的长方体对象cuboidA,然后利用setter方法设置长宽高分别为1.5、2.6和18.6,(2)调用printCuboid()方法输出cuboidA的基本信息,调用isCube()方法判断是否正方体;(3)调用方法drawing()模拟绘制该长方体。
测试二要求如下:(1)利用构造方法创建一个具有长宽高分别为2.5、6.8和8.0的长方体对象cuboidB,然后利用setLength()方法修改length为4.6;(2)调用getArea()方法计算表面积;(3)调用getCubage计算该长方体的体积。(The cuboid class cuboid is defined as follows: (1) the private member variables include length, width and H eight; (2) the construction method includes a public empty construction method, a construction method that can initialize all member variables; (3) all setter and getter methods are included, where the setter method requires to verify the parameters, such as length, width and height are greater than 0 (4) the function methods include calculating the surface area getarea (), calculating the volume getcube (), judging whether the cube is iscube (), outputting the length, width and height printcube (), drawing the box (just give the prompt information) drawing ().)
- 2021-05-07 10:58:37下载
- 积分:1
-
Shop_manage
it manage shop record sale purchesh customer record
- 2014-12-12 00:31:34下载
- 积分:1
-
数字水印
Java 盲水印
在图片上加肉眼无法分辨的水印
* 原理
* Encode:
原图 --- 傅立叶变换 ---> 频域图 + 水印 --- 逆变换 ---> 带水印图
* Decode(文字水印):
带水印图 --- 傅立叶变换 ---> 频域图
* Decode(图片水印):
原图 --- 傅立叶变换 --> 原图频域图
带水印图 --- 傅立叶变换 ---> 频域图 - 原图频域图
- 2023-08-14 13:05:03下载
- 积分:1
-
SolrMongoImporter-master
连接 HBASE和MongoDB的驱动程序,配置后可直接导数据。很好用。
- 2023-09-04 03:05:03下载
- 积分:1
-
制作的tooltip工具提示插件
一款使用js和css3制作的tooltip工具提示插件。该tooltip插件显示时带css3动画特效,(css3. The tooltip plug-in is d)
- 2019-01-02 14:31:12下载
- 积分:1
-
通过控制台猜100以内数字,直到才对为止。
通过控制台猜100以内数字,直到才对为止。-Guess the number within the 100 through the console until Caidui up.
- 2023-07-13 04:30:03下载
- 积分:1
-
ssh会议管理系统(源码+数据库+文档+视频+截图)
拥有全面的部署教程,功能完善,会议室,人员配置完善 本系统为基于jsp ssh mysql的会议室管理系统,包含普通用户和管理员,系统功能如下:普通用户:会议室管理、会议管理、用户管理、个人资料。管理员用户:会议室管理、会议管理、用户管理、部门管理、设备管理、个人资料。服务器端采用ssh框架,界面整洁完美,适合作为毕业设计、课程设计、数据库大作业。
- 2020-12-11下载
- 积分:1
-
GISToolkitSource
GISToolkit是一个免费基于java的mapping工具包,它能够从多种数据源读取地理数据并把信息显示给用户,还能够直接编辑存在数据库中的地理特性。(GISToolkit is a free java based on the mapping tool kit, it can read from multiple data sources of geographic data and the information displayed to the user, can also directly edit the existing database of geographic features.)
- 2010-05-30 20:58:16下载
- 积分:1
-
Jquery1
jquery代码示例,详细讲解了jquery的使用方法(jQuery code example)
- 2012-05-18 22:24:54下载
- 积分:1
-
使用 Swing 控件,实现上图所示的图形化界面,并完成初步功能...
使用 Swing 控件,实现上图所示的图形化界面,并完成初步功能-The use of Swing controls, to achieve the figure shown in graphical interface, and complete the initial function
- 2022-02-10 04:28:53下载
- 积分:1