The correct answer is:
True
Step-by-step explanation:According to Newton's Gravitational law:

As you can see the gravitational force is directly proportional to the masses of the objects while inversely proportional to the square of distance (r^2) between them.
Hence, yes, your statement is true!