Which one of these would have the strongest gravitational pull?

A. a large, dense star
B. a medium-sized planet
C. a small moon
D. a comet