If Hund's rule is not applicable, then zero many unpaired e− are present in B2 molecule .
The molecular orbital configuration of B2 is KKσ2s2σ∗2s2,π2py1π2py1
However if the Hund's rule is not followed then the molecular orbital configuration will be KKσ2s2σ∗2s2,π2py2π2py0. hence, all the electrons will b paired.