The shell theorem gives the gravity of a concentric hollow sphere as . There is no enclosed mass at the cavity boundary, whereas the entire shell has mass . Thus
Both nonzero fields point towards the centre. The field is continuous at each boundary; there is no surface mass sheet.