The optical fibre works on the principle of:
(a) Scattering
(b) Refraction
(c) Dispersion
(d) Total internal reflection