If an isolated conductor without cavities is charged, its excess charge will distribute itself on its surface in order to guarantee that the electric field is zero on its interior.
If instead the conductor had an interior cavity, the charges would again distribute themselves on the outer surface in order to eliminate the electric field on the inside material of the conductor. (Free electrons cannot move in equilibrium.) Why is the electric field within the cavity zero as well? Why does the distribution of excess charge on the surface eliminate electric field within cavities as a result of eliminating electric field within the material itself? Is the distribution of charges on the outer surface independent of the interior shape?