Which method closes the current activity and returns to the previous one?
- finish()
- exit()
- close()
- stop()
Answer
A) finish()
finish() destroys the activity and pops it from the back stack.
Computer Science MCQ · More Lab: Multiple Activities and Navigation MCQs · Practise