D. a bed spring that is pushed together with a weight
Elastic potential energy is stored in objects when they are deformed (stretched or compressed) and have the capacity to return to their original shape. In this case, the bed spring is compressed, storing elastic potential energy.