The correct answer is "josh heated the water."
The solubility of sugar is 204 g per 100 g of water only at 20°C. The solubility of sugar increases with increase in temperature. At high temperatures the kinetic energy of water molecule increases which can now effectively break apart the sugar molecules that are held together by intermolecular forces of attraction.
Thus 400 g of the sugar will dissolve in water at a temperature higher than 20°C.