What is a context in android ?
Options
1) It is an interface to store global information about an application
2) It is used to create new components.
3) Android has two contexts, those are getContext() and getApplicationContext()
4) All of above
Options
1) When the application is not responding ANR will occur.
2) Dialog box is called as ANR
3) When Android forcefully kills an application, it is called ANR
4) None of the above
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