nerdexam
Android

AND-401 · Question #18

Which of the following Activity life-cycle methods is invoked when a dialog is shown?

The correct answer is A. onPause(). See the full explanation below for the reasoning.

Question

Which of the following Activity life-cycle methods is invoked when a dialog is shown?

Options

  • AonPause()
  • BonCreate()
  • ConStop()
  • DonDestroy()

How the community answered

(23 responses)
  • A
    78% (18)
  • B
    9% (2)
  • C
    4% (1)
  • D
    9% (2)

Community Discussion

No community discussion yet for this question.

Full AND-401 Practice