Which piece of spectral data is necessary to determine the spectral class of a star?

Luminosity
Absolute magnitude
Temperature
Apparent magnitude

1 answer

The temperature of the star is necessary to determine its spectral class.