Which of the following affects the force of gravity between two objects ( may be more than one )

A. The objects masses
B. The objects density
C. The objects volumes
D. The distance between the objects