Two masses each of mass `M` are attached to the end of a rigid massless rod of length `L`. The moment of interia of the system about an axis passing centre of mass and perpendicular to its length is.
A. `(ML^2)/(4)`
B. `(ML^2)/(2)`
C. `ML^2`
D. `2 ML^2`