We can determine the surface temperature of a star
a. only by studying its continuous spectrum (color).
b. only by studying its line absorption spectrum.
c. Either "a" or 'b" will work but "b" is more precise