Answer the question

Which two factors determine the gravitational attraction between two objects?
Choices:
(1). time and temperature.
(2). shape and orbital speed.
(3). color and hardness.
(4). mass and distance apart.
(4).