Star A is hotter than star B. More test answers on https://studyhippo.com/astronomy-chapter-17/