An AsyncTask can be cancelled anytime from any thread.

An AsyncTask can be cancelled anytime from any thread.
A . True
B . False

Answer: A

Explanation:

A task can be cancelled at any time by invoking cancel(boolean).

References: http://developer.android.com/reference/android/os/AsyncTask.html

Latest AND-401 Dumps Valid Version with 228 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments