The phenomenon of dispersion occurs when
A. The index of refraction depends on the wavelength.
B. The incident beam is completely reflected.
C. There is total internal reflection.
D. There is a virtual image.