If a star has an absolute magnitude of 0 and a temperature of 4,500 K, what spectral class is it classified. O, B, A, F, G, K, M

Based on the given information, the spectral class of the star would be K.