The difference is that the quantum case has quantisation in the energy levels, while in the classical case it is continuous. To go from the quantum case to the classical case, we would have to make the diffences very small, so that it resembles a continuous distribution.