Android
OA0-002 · Question #92
Which is the incorrect explanation of an Activity?
The correct answer is C. When the Activity is displayed again, onRestart() will be executed instead of onStart(). See the full explanation below for the reasoning.
Question
Which is the incorrect explanation of an Activity?
Options
- AIf another Activity is instantiated when the Activity is executed, onPause() will be executed.
- BWhen the Activity is displayed in the foreground, onResume() will be executed.
- CWhen the Activity is displayed again, onRestart() will be executed instead of onStart().
- DWhen the Activity returns from an onPause(), it sometimes can execute from onCreate().
How the community answered
(34 responses)- A6% (2)
- B9% (3)
- C74% (25)
- D12% (4)
Community Discussion
No community discussion yet for this question.