When the Activity reaches the top of the Activity stack and becomes the foreground process, what method is called?
a. onDestroy()
b. onRestart()
c. onPause()
d. onResume()
d. onResume() - When the Activity reaches the top of the Activity stack and becomes the foreground process, the onResume() method is called.
You might also like to view...
Consider the following strategy for array expansion/contraction: Whenever an element is added, increase the size of the array by one, and whenever an element is removed, decrease the size of the array by one. This strategy is not reasonable because:
A. elements sometimes take up more than one slot in the array. B. there is a lot of element-copying taking place. C. dynamic arrays cannot be adjusted by one D. we are not working with a multi-dimensional array
In which direction do rows span?
A. down B. left to right C. right to left D. up