Pressing the Back button on the top activity normally results in:

  1. onRestart()
  2. onPause() only
  3. onPause(), onStop(), onDestroy()
  4. onResume()
Answer

C) onPause(), onStop(), onDestroy()

Back finishes the activity, so it is paused, stopped and destroyed.

Computer Science MCQ · More Android OS: Architecture, Framework and Application Development MCQs · Practise