Which figure must be a square?

A.
a quadrilateral with four right angles

B.
a rhombus with four right angles

C.
a parallelogram with four congruent sides

D.
a quadrilateral with congruent sides