Adding the same amount of heat to two different objects does not necessarily produce the same increase in temperature. Why not?
If we consider two different objects , the materials obviously will have different densities because density is not constant for all materials it is different for different materials and different materials have different heat capacities. A higher heat capacity means more heat energy is needed to raise the temperature of the object. And the heat absorption power is differ for different material .take same mass of two materials and supply same amount of heat then observe,we can notice temperature difference. We have formula Q=mcT, where m is the mass of the substance , Q is the heat supplying to the substance, c is the specific heat of substance T is the change in temperature. The thermal energy which an object has is a function of temperature, mass and thermal capacity. In other words, a large object at the same temperature as a small object has more heat energy