Which spectral class primarily comprises the rare, massive, and short-lived stars with the hottest observable surfaces?

Answer

O-type stars

The spectral class explicitly identified as belonging to the most massive, hottest main-sequence stars are the O-type stars. These stars are characterized by burning through their fuel rapidly due to their immense mass, which results in surface temperatures beginning around 30,000 Kelvin and climbing significantly higher. They represent the extreme end of stellar evolution for objects still on the main sequence, prior to entering more exotic phases like that of a Wolf-Rayet star.

Which spectral class primarily comprises the rare, massive, and short-lived stars with the hottest observable surfaces?

#Videos

WR102. A star that is 200,000 degrees hotter than the Sun. - YouTube

astronomyuniverseCorestarhottest