| 21. |
By using AsyncTask, do we need to add any custom handler to publish the result to UI thread?
|
||||
|
Answer:
Option (b) |
| 22. |
Can we create an instance of the AsyncTask class directly?
|
||||
|
Answer:
Option (a) |
| 23. |
What method must be overridden for using AsyncTask?
|
||||||||
|
Answer:
Option (a) |
| 24. |
Can we create an instance of AsyncTask from a service's process?
|
||||
|
Answer:
Option (a) |
| 25. |
How many time can a task run?
|
||||||||
|
Answer:
Option (a) |
| 26. |
What will happen if a task is executed the second time?
|
||||||
|
Answer:
Option (a) |
| 27. |
In order to access member fields in doInbackground method where should we set them?
|
||||||||
|
Answer:
Option (d) |
| 28. |
In a JSON file, a _____ bracket represents a JSON array.
|
||||||||
|
Answer:
Option (a) |
| 29. |
In a JSON file, _____ bracket represents a JSON object.
|
||||||||
|
Answer:
Option (b) |
| 30. |
Classes to manipulate JSON data are
|
||||||||
|
Answer:
Option (d) |