nerdexam
Android

OA0-002 · Question #123

When executing the following code and selecting the "tab2" tab then the "tab1", which is the correct method in the List1 class which will be called first? (Assume that the application operates…

The correct answer is B. onResume. See the full explanation below for the reasoning.

Question

When executing the following code and selecting the "tab2" tab then the "tab1", which is the correct method in the List1 class which will be called first? (Assume that the application operates normally no memory erasure occurs.)

Options

  • AonCreate
  • BonResume
  • CNothing will be executed
  • DonTabChanged

How the community answered

(44 responses)
  • A
    11% (5)
  • B
    82% (36)
  • C
    2% (1)
  • D
    5% (2)

Community Discussion

No community discussion yet for this question.

Full OA0-002 Practice