Options
1) It has information about layout in an application
2) It has the information about activities in an application
3) It has all the information about an application
4) None of the above
What is the life cycle of foreground activity in android?
Options
1) onCreate() −> onStart() −> onResume() −> onStop() −> onRestart
2) onCreate() −> onStart() −> onResume() −>onStop()
3) onCreate() −> onStart() −> onResume()
4) None of the Above
Can a user save all database updates in onStop ()?
Options
1) Yes, a user can save all database updates in onStop()
2) No, a user can save in onSavedInstance
3) No, a user can save in a Bundle
4) No, In some situations, a user can't reach onStop()