We know that sum of all angles in a quadrilateral is 360∘.
If ABCD is a quadrilateral.
∠A+∠B+∠C+∠D=360∘
But it is given all angles are equal.
∴∠A=∠B=∠C=∠D
∴ ∠A+∠A+∠A+∠A=360∘
⇒4∠A=360∘
∴∠A=90∘.
So, all angles of a quadrilateral are 90∘.
Hence, given quadrilateral is a Rectangle or a Square.