In the given circuit the current flow through the p-n junction diode is ( in A)
Diode is ideal and in forward bias. 5Ω resistance parallel to diode gets short – circuited.
∴Current through diode = I=105=2 A