A prism has a square base with a side length of 6 centimeters. If the volume of the prism is 144 cubic centimeters, what is the height in centimeters?
A. 4 cm
B. 3 cm
C. 12 cm
D. 8 cm ​