Android Developer Question:
Download Questions PDF

Explain me scenario in which only onDestroy is called for an activity without onPause() and onStop()?

Android Developer Interview Question
Android Developer Interview Question

Answer:

If finish() is called in the OnCreate method of an activity, the system will invoke onDestroy() method directly.

Download Android Developer Interview Questions And Answers PDF

Previous QuestionNext Question
Explain me what is the Android Application Architecture?Explain me how does the activity respond when the user rotates the screen?