The mass of a star can be determined by studying

Athe wavelength of light emitted by the star.
Bthe color of the star.
Cthe distance between the star and earth.
Dbinary star systems.