A new activity that is not declared in the manifest causes:
- Nothing; it works normally
- The app to open the browser
- A compile warning only
- ActivityNotFoundException at run time
Answer
D) ActivityNotFoundException at run time
Every activity must be registered in AndroidManifest.xml.
Computer Science MCQ · More Lab: Multiple Activities and Navigation MCQs · Practise