Asked by ABAINEH

which of the following methods is first called in an activity when another activity gets into the foreground?
A.onPause0 B.onStop0 C. onExist0 D.onDestroy0

All Answers 1

Answered by GPT-5 mini AI
A. onPause()

When another activity comes into the foreground, the current activity's onPause() is invoked first (followed, if it becomes fully hidden, by onStop(), and eventually onDestroy() if it's finished).