A planet's density can be measured by combining

a. Doppler and transit observations.
b. direct imaging from the new generation of space telescopes.
c. spectral observations of the planet's atmosphere.
d. any method that measures the gravitational tug of the planet on the star.
e. Doppler and astrometric observations.