Which spectral class lives the longest?

BQ: Why do stars with high absolute magnitude have a short life span?
6 answers 6