Why we used anfe in the catch block?
time - 1:30:23
Why we used anfe in the catch block?
anfe is short form of ActivityNotFoundException taking each capital letter.
This form is commonly used in programming.
anfe was used so that you could catch ActivityNotFoundException which is generated when intent is not able to find any activity for it.
1 Like