Water has a specific heat of 4.184 J/g deg while glass

Water has a specific heat of 4.184 J/g deg while glass (Pyrex) has a specific heat of 0.780 J/g deg. If 10.0 J of heat is added to 1.00 g of each of these which will experience the larger increase of temperature?(a)glass(b)water(c)They both will experience the same change in temperature since only the amount of a substance relates to the increase in temperature.