(a) if the junction is forward-biassed
In the forward biassing of a p−n junction, the positive terminal of the battery is connected to the p side of the p−n junction and the negative terminal of the battery is connected to the n side of the p−n junction. As a result, electrons in the n side of the p−n junction are repelled by the negative terminal of the battery and move to the p side, where the positive terminal of the battery attracts the electrons. Similarly, holes from the p side of the p−n junction are repelled by the positive terminal of the battery and move to the n side, where the negative terminal of the battery attracts the holes. Thus, they give diffusion current across the p−n junction.
In case of reverse biassing, no conduction takes place across the junction because of the diffusion of majority carriers. Hence, there is no diffusion current.
If the junction is unbiased, then diffusion current is initially maximum. But at equilibrium, diffusion current becomes equal to drift current.