Answer: B
Increasing conjugation lowers the energy of the pi to pi* transition and shifts λmax to longer wavelength. Alkyl substituents on the diene give a further small red shift, so hexa-2,4-diene absorbs above buta-1,3-diene. The triene has the longest conjugated system and absorbs at the longest wavelength.