Two objects are sitting on a table. Thermal energy is being transferred from one object to another. When does this transfer of thermal energy stop?

a
when one object has completely cooled
b
when the two objects are different temperatures
c
when one object is much warmer than the other
d
when both objects are the same temperature

d) when both objects are the same temperature.