单项选择题

When the mongooses in Jamaica killed off the rats they ______.

A.attacked the humans
B.ate the sugar crop
C.became problems themselves
D.had nothing to eat