Two beakers A and B are filled to the brim with water at 4 °C. When A is heated and B is cooled