How do you know if you construct a rectangle accurately?

A.If it has four right angles and two equal diagonals.
B.If the sides are equal.
C.If it has four sides.
D.If it has two perpendicular lines.​