

A common misconception is that if the object expands, the hole will shrink becuase material expands into the hole.
Every linear dimension of an object changes in the same way when the temperature changes.
When the object expands, the atoms move part and the hole increases in size.
The only situation in which a "hole" will fill in due to thermal expansion is when two separate objects expand and close the gap between them.