Which three measurements could be the lengths of the sides of a triangle?

A5 cm, 3 cm, 9 cm
B5 cm, 3 cm, 7 cm
C5 cm, 2 cm, 2 cm
D5 cm, 2 cm, 7 cm