- Category:
- Other systems
- Tags:
-
- File Size:
- 15kb
- Update:
- 2020-05-24
- Downloads:
- 1 Times
- Uploaded by:
- OOR.
Description: 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 ().
To Search:
File list (Check if you may need any files):
Filename | Size | Date |
---|
JAVA.doc | 46648 | 2020-04-30 |