Answer:
That is true, the hotter a star is the shorter of wavelength it emits and the higher. It also depends on the mass of the star because the bigger it is, the faster it fuses its hydrogen fuel. Faster burning of fuel means more energy is released and so results in higher temperatures.
Hope this helps! Good luck :)
Step-by-step explanation: