Android Application Development (AND-401) — Question 103

Which of the following is a valid sequence of invokes to Activity lifecycle methods? (Select Two)

Answer options

Correct answer: B, C

Explanation

Options B and C present valid sequences in the Activity lifecycle. In B, after onStop the Activity can enter the onRestart state, while in C, the lifecycle ends with onDestroy, indicating the Activity is being finished. Options A and D are incorrect as they do not follow the proper transitions between lifecycle states.