As surface area, material and temperature difference are same, so rate of loss of heat is same in both the spheres. Now in this case rate of cooling depends on mass.
==> Rate of cooling $\frac{{\Delta \theta }}{t} \propto \frac{1}{m}$
( ${m_{solid}} > {m_{hollow}}$. Hence hollow sphere will cool fast.