A square is a shape with four equal sides and four corners that are all right angles ( 90 degrees ) . The diagonals of a square also cross at right angles . This means that it has four equal sides and four equal angles ( 90 degree angles , or right angles ) .