CSE 341 -- S. TanimotoJava Classes and
Inheritance
8
Output
This polyhedron has 6
faces, 8 vertices, and 12 edges.
Its volume is 125.0
(Tetrahedron)This
polyhedron has 4 faces, 4 vertices, and 6 edges. Its volume is
93.33333333333333
This polyhedron has 6 faces, 8 vertices, and 12 edges. Its volume is 24.0