Which two factors determine the force of gravity between two objects?

A
Mass of both objects and the distance between them

B
Density of both objects and the speed that they are moving

C
Distance between the objects and the density of both objects

D
Mass of both objects and the speed at which they are moving