A new activity that is not declared in the manifest causes:

  1. Nothing; it works normally
  2. The app to open the browser
  3. A compile warning only
  4. 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