Answer:
Liquid
Explanation:
Solids do not change shape, so we know it's not a solid.
Gases take the shape of their container, but they also expand to the volume of the container. The substance in this problem has the same volume in different size containers, so we know it's not a gas.
The substance must be a liquid. It takes the shape of its container but has a constant volume.