What is the purpose of an AsyncTask in Android?
AsyncTask
Handle UI animations
Connect external devices
Manage layouts
Perform network calls and background tasks
Correct Answer: D — Perform network calls and background tasks
Explanation:
AsyncTask enables developers to perform background operations while ensuring that the main UI remains responsive and interactive.