Question: When will an activity's onActivityResult()be called?

  1. when calling finish()in the parent activity
  2. when placing an app into the background by sitching to another app
  3. When onStop() is called in the target activity
  4. when calling finish() in the target activity

Answer: The correct answer of the above question is Option D:when calling finish() in the target activity