Options
1) A single screen the user sees on the device at one time
2) A message sent among the major building blocks
3) A component that runs in the background without any interface
4) Context referring to the application environment
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