nerdexam
Android

AND-401 · Question #61

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

The correct answer is B. onCreate > onStart > onResume > onPause> onStop>onRestart C. onCreate > onStart > onResume > onPause> onStop>onDestroy. See the full explanation below for the reasoning.

Question

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

Options

  • AonCreate > onStart > onResume > onPause> onStop> onCreate
  • BonCreate > onStart > onResume > onPause> onStop>onRestart
  • ConCreate > onStart > onResume > onPause> onStop>onDestroy
  • DonCreate > onStart > onResume > onPause> onStop>onResume

How the community answered

(26 responses)
  • A
    15% (4)
  • B
    77% (20)
  • D
    8% (2)

Community Discussion

No community discussion yet for this question.

Full AND-401 Practice