Where is the saved Bundle received after recreation?

  1. In onDestroy()
  2. In onPause()
  3. In onCreate(savedInstanceState) or onRestoreInstanceState()
  4. In the manifest
Answer

C) In onCreate(savedInstanceState) or onRestoreInstanceState()

The same Bundle is passed to onCreate and onRestoreInstanceState.

Computer Science MCQ · More Screen Components and Orientation MCQs · Practise