Which spectral class represents the hottest stars according to astronomical classification?

Answer

O-type

Astronomers use the spectral sequence O, B, A, F, G, K, and M, which is ordered from the hottest stars (O-type) to the coolest (M-type).

Which spectral class represents the hottest stars according to astronomical classification?
astronomytemperaturestarsstellar evolutioncommonality