AND-401 Exam QuestionsBrowse all questions from this exam

AND-401 Exam - Question 96


Which of the following is NOT true about class AsyncTask?

Show Answer
Correct Answer: B

Class AsyncTask does not need to be created on the UI thread. AsyncTask should be executed on the UI thread through its execute() method, but its instance can be created on any thread. The other statements about subclassing, method overrides, and generic types are correct.

Discussion

1 comment
Sign in to comment
MmadiOption: C
Dec 31, 2022

C. Its sub-class override at least two methods: doInBackground, onPostExecute.