Assertion (A): All squares are rectangles. Reason (R): Rectangles have four right angles. Which of the following is correct?

Answer: A. Both A and R are true, and R is the correct explanation of A.
Both statements are true, and the reason explains why all squares are classified as rectangles.