Suppose that your application has brought ActivityA into the foreground. The user then presses a button shown by ActivityA, which causes ActivityB to be brought into the foreground, ready for user interaction. At this point, what was most likely the last lifecycle method called on ActivityA and on ActivityB? A. ActivityA.onStop() and ActivityB.onResume(). B. ActivityA.onPause() and ActivityB.onRestart(). C. ActivityA.onDestroy() and ActivityB.onCreate(). D. ActivityA.onResume() and ActivityB.onDestroy().