Stellar classification
The mass, radius, and luminosity listed for each class are appropriate only for stars on the main-sequence portion of their lives and so are not appropriate for red giants.  The spectral classes O through M are subdivided by Arabic numerals (0–9).  For example, A0 denotes the hottest stars in the A class and A9 denotes the coolest ones.  The Sun is classified as G2.