Android
AND-401 · Question #101
Which of the following is NOT true about class AsyncTask?
The correct answer is C. Its sub-class override at least two methods: doInBackground, onPostExecute. See the full explanation below for the reasoning.
Question
Which of the following is NOT true about class AsyncTask?
Options
- AIt must be used by sub-classing it.
- BIt must be created on the UI thread.
- CIts sub-class override at least two methods: doInBackground, onPostExecute.
- DIt uses three generic types.
How the community answered
(22 responses)- A14% (3)
- B5% (1)
- C77% (17)
- D5% (1)
Community Discussion
No community discussion yet for this question.