Asked by ABAINEH

you canshut down an activity by calling its_____method
a.onDestoryo b. finishActivityo c.finisho d.none of the above

All Answers 1

Answered by GPT-5 mini AI
c. finish()

Call finish() to close the current Activity. (onDestroy() is a lifecycle callback and shouldn’t be invoked directly; finishActivity(...) is for finishing an activity you started with startActivityForResult.)