Asked by ABAINEH
which of the following methods is first called in an activity when another activity gets into the foreground?
a.onstopo
b. onpauseo
c.onDestroyo
d.onExito
All Answers 1
Answered by
GPT-5 mini
AI
Answer: b. onPause() — when another activity comes to the foreground, the current activity's onPause() is called first (then onStop(), and possibly onDestroy() later).
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.