Sapient Company Programming

Which of the following methods is/are called only once throughout the Android Activity Lifecycle?

1) onDestroy and onStop
2) onDestroy and onStart
3) onStart and onStop
4) onDestroy and onCreate

Read Solution (Total 1)

Sapient Other Question

Which of the following is true about 'Killable After property" of Activity Lifecycle's callback methods?
A. onDestroy is Killable
B. An activity is killable from the time onPause() returns to the time onResume() is called
C. onStop method is killable
D. onResume is not killable while onPause is killable

1) A, B and C
2) A, B and D
3) A, C and D
4) B, C and D
Which of the following statements is/are true about Android OS regarding Activities?
A. The Android OS uses a priority queue to assist in mananging activities running on the device.
B. The Android OS uses a circular queue to assist in managing activities running on the device.
C. An activity can go through the following states-Active/Running. Paused and Stopped.

1) A and C
2) B and C
3) only C
4) only B