Refraction of a light ray may be defined as
A. bouncing off the boundary
B. passing through the boundary
C. maintaining speed after a boundary
D. changing direction while crossing a boundary ​