When you add an activity using New → Activity in Android Studio, it automatically:

  1. Deletes MainActivity
  2. Creates a fragment
  3. Creates the class, its layout and the manifest entry
  4. Publishes the app
Answer

C) Creates the class, its layout and the manifest entry

The wizard creates all three pieces.

Computer Science MCQ · More Lab: Multiple Activities and Navigation MCQs · Practise