If no app can handle an implicit intent, startActivity() throws:
- NullPointerException
- IOException
- SecurityException
- ActivityNotFoundException
Answer
D) ActivityNotFoundException
Catch ActivityNotFoundException to avoid a crash.
Computer Science MCQ · More Intents and Notifications MCQs · Practise