Which of the following is a true statement?

A: It is possible for two rectangles to have the same area, but only if they also have the same perimeter.

B: It is possible for two rectangles to have the same area without having the same perimeter.

C: It is possible for two squares to have the same area without having the same perimeter.

D: It is possible for two squares to have the same perimeter without having the same area.