@rohit malik,
If the liquid is pure---no dissolved gasses.
Reply if the container is not rigid it would deform slightly due to the contraction of the liquid--the amount of deformation is a function of the volume, the temperature change and the coefficient of thermal expansion of the liquid.
If the container is rigid a small vapor volume will form--this vapor volume is also a function of the same three variables listed above and the vapor pressure of the liquid.
Rap