Answer
B has a higher density than A
Work Step by Step
Since the volumes of (a) and (b) are the same, then the numbers of atoms determines which window has the higher density. By inspection, (b) has a higher density than (a) because (b) has more particles.