Multiple choice

How do you save the Activity state in a non-shared medium?

  1. Activity.getPreferences() can be used for that.

  2. There must be a single SharedPreferences object.

  3. By overriding an Activity's onSaveInstanceState event handler.

  4. Options 1 and 2.

  5. Options 1, 2 and 3.

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

Yes, it the correct answer.