Solution:
It is known that AB is a long metal rod resting on a bracket, and its B end is fixed. When the temperature rises, the length of AB will increase and extend to the left, driving the pointer to deflect to the right. On the contrary, the temperature decreases, the length of AB decreases, and the pointer deflects to the left, so the principle of solid expanding with heat and contracting with cold is used.
So the answer is: solid expands when heated and contracts when cooled; That's right.