Similarity between both the figures is that both have the same heights.

The difference between the two figures is that one is a cylinder and the other is a cube.

Lateral surface area of the cube = 4l2 = 4 (7 cm)^{2} = 196 cm^{2}

Lateral surface area of the cylinder = 2πrh = 2 x (22/7) x (7/2) x 7 cm^{2} = 154 cm^{2}

Hence, the cube has larger lateral surface area.