Name the three events you can override to save an activity's state.

Name the three events you can override to save an activity's state.



A. onStop(), onSaveInstanceState(), and onRetainNonConfigurationInstance()
B. onDestroy(), onStop(), onSaveInstanceState(), and onRetainNonConfigurationInstance()
C. onResume(), onStop(), onSaveInstanceState(), and onRetainNonConfigurationInstance()
D. onPause(), onStop(), onSaveInstanceState(), and onRetainNonConfigurationInstance()


Answer: D


Learn More :