Exam AND-401 All QuestionsBrowse all questions from this exam
Question 68

Which of the following methods is called first in an Activity when another activity gets into the foreground?

    Correct Answer: B

    When another activity comes into the foreground, the current activity first calls the onPause() method. This allows the activity to pause ongoing tasks and release resources that may be needed by the new activity.

Discussion
MmadiOption: B

B. onPause()