Multiple choice technology platforms and products

________ method is passed a Bundle object containing the activity's previous state, if that state was captured.

  1. onCreate()

  2. onResume()

  3. onStart()

  4. None of above

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The onCreate() method receives a savedInstanceState Bundle parameter that contains the activity's previously saved state. This state is captured in onSaveInstanceState() when the activity may be killed by the system. onResume() and onStart() do not receive this Bundle parameter.