Android Application Development (AND-401) — Question 23

Which method is used to close an activity?

Answer options

Correct answer: B

Explanation

The correct answer is B, Finish(), as it is the method specifically designed to close an activity in Android development. The other options, while they may suggest stopping or closing, do not serve the specific purpose of finishing an activity.