A couple of reasons.
A submarine isn't shaped like a cube because water flowing around a cube would make noise that could be heard on sonar. Submarine forces work very hard to make their submarines less audible.
It also isn't shaped like a cube because depending on the way the cube is oriented in the water, it would take more power to push the submarine through the water.
A combat submarine isn't shaped like a sphere because a sphere won't hold as much load as they would the shape they are made. They have made spherical-shaped submersibles for extremely deep-water exploration because a sphere is the most pressure-resistant shape.
They are both 3d demensional shapes.
Hyper cubes, hyper spheres, etc.
cubes, pyramids, prisms, spheres
A few object types are cubes, spheres, and cylinders.
Cubes and spheres are both symmetrical 3 dimensional objects.
No, cubes do not float better in water than spheres. Objects float based on their density and volume, not their shape. If a cube and a sphere have the same density and volume, they will float in water in the same manner.
salt
A solid shape.
Cubes, pyramids, cones, and spheres are all 3D shapes.
Sodium
A cube has 6 square-shaped faces
dicesugar cubes