How can you tell whether one glass of water has more thermal energy than another, identical glass of water?

how can you tell whether one glass of water has more thermal energy than another, identical glass of water?