For the same outer diameter and length, a solid shaft has a higher polar moment of inertia than a hollow shaft, making it stronger in torsion.