Which type of electromagnetic energy has the shortest wavelength?

A. x-rays
B. ultraviolet waves
C. radio waves
D. gamma rays

D. gamma rays