Which object has the most thermal energy?

 - a 400-gram glass of water at a temperature of 74°F
 - a 400-gram glass of water at a temperature of 82°F
 - a 400-gram glass of water at a temperature of 71°F
All three glasses of water have the same mass but different temperatures. Since the 82°F glass of water is the hottest, it has the most thermal energy.