nerdexam
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)
  • A
    14% (3)
  • B
    5% (1)
  • C
    77% (17)
  • D
    5% (1)

Community Discussion

No community discussion yet for this question.

Full AND-401 Practice